Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0603/0.0603, allocations: 14.16 MB / 284.5 MB, free: 6.996 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005571, allocations: 19.94 kB / 347.6 MB, free: 18.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 51.11 MB / 398.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.005591/0.1282, allocations: 4.596 MB / 403.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1327, allocations: 2.701 MB / 406 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.1332, allocations: 7.938 kB / 406 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.1337, allocations: 214.9 kB / 406.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1361, allocations: 1.031 MB / 407.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.1369, allocations: 381.6 kB / 407.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1382, allocations: 0.952 MB / 408.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1384, allocations: 78.03 kB / 408.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.1389, allocations: 426.6 kB / 409 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.1395, allocations: 462.3 kB / 409.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.1395, allocations: 40 kB / 409.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.1401, allocations: 235.8 kB / 409.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1403, allocations: 131.5 kB / 409.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1404, allocations: 165.3 kB / 410.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000818/0.1412, allocations: 0.7948 MB / 410.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1412, allocations: 0 / 410.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1412, allocations: 0 / 410.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1413, allocations: 3.938 kB / 410.8 MB, free: 3.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003219/0.1445, allocations: 1.224 MB / 412.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1445, allocations: 12.02 kB / 412.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1447, allocations: 86.52 kB / 412.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.145, allocations: 103 kB / 412.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.1459, allocations: 0.5234 MB / 412.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.146, allocations: 48.94 kB / 412.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1461, allocations: 63.91 kB / 412.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.1469, allocations: 478 kB / 413.4 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1469, allocations: 0 / 413.4 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.147, allocations: 20 kB / 413.4 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.147, allocations: 16 kB / 413.4 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.1478, allocations: 495.7 kB / 413.9 MB, free: 15.92 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.1525, allocations: 2.883 MB / 416.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.1538, allocations: 0.7728 MB / 417.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.1538, allocations: 8.547 kB / 417.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1539, allocations: 39.12 kB / 417.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.953e-06/0.1539, allocations: 0 / 417.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.00526/0.1592, allocations: 2.047 MB / 419.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1592, allocations: 59.91 kB / 419.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.1598, allocations: 0.4987 MB / 420.2 MB, free: 9.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.1599, allocations: 41.7 kB / 420.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1601, allocations: 257.2 kB / 420.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.1603, allocations: 232.6 kB / 420.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1603, allocations: 20 kB / 420.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1605, allocations: 370.8 kB / 421.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.1611, allocations: 333.9 kB / 421.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.1617, allocations: 413.4 kB / 421.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.1624, allocations: 375 kB / 422.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1624, allocations: 4 kB / 422.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005141/0.1676, allocations: 1.597 MB / 423.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.1678, allocations: 275 kB / 424.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1678, allocations: 7.938 kB / 424.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004924/0.1727, allocations: 1.019 MB / 425.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008895/0.1737, allocations: 199.8 kB / 425.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2557/0.4293, allocations: 9.531 MB / 434.8 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/0.4302, allocations: 41.28 kB / 434.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.4303, allocations: 32.69 kB / 434.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4303, allocations: 3.5 kB / 434.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002974/0.4333, allocations: 1.195 MB / 436.1 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4333, allocations: 7.531 kB / 436.1 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.436, allocations: 0.6063 MB / 436.7 MB, free: 24.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4371, allocations: 221.7 kB / 436.9 MB, free: 24.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/0.4465, allocations: 10.64 MB / 447.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.4473, allocations: 32.33 kB / 447.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.4474, allocations: 34.77 kB / 447.6 MB, free: 15.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004932/0.4479, allocations: 271.1 kB / 447.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.4481, allocations: 65.84 kB / 448 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.4501, allocations: 0.7846 MB / 448.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4501, allocations: 5.781 kB / 448.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.4501, allocations: 12.09 kB / 448.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4501, allocations: 3.375 kB / 448.8 MB, free: 15 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.453, allocations: 1.56 MB / 450.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.453, allocations: 4.422 kB / 450.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.4537, allocations: 138 kB / 450.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.4547, allocations: 275 kB / 450.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.4548, allocations: 11.8 kB / 450.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.4587, allocations: 2.441 MB / 453.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4588, allocations: 0 / 453.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.4613, allocations: 1.129 MB / 454.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.4617, allocations: 181.6 kB / 454.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.4618, allocations: 19.81 kB / 454.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.4622, allocations: 26.17 kB / 454.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.4624, allocations: 51.05 kB / 454.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.4624, allocations: 14.59 kB / 454.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005161/0.463, allocations: 325 kB / 454.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.463, allocations: 0 / 454.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001933/0.4649, allocations: 456.8 kB / 455.4 MB, free: 12.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.4674, allocations: 1.719 MB / 457.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005111/0.4725, allocations: 3.002 MB / 460.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4726, allocations: 0 / 460.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.4735, allocations: 0.5276 MB / 460.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.4741, allocations: 76.14 kB / 460.7 MB, free: 9.109 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.477, allocations: 2.32 MB / 463 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4774, allocations: 0.9294 MB / 463.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.4778, allocations: 82.91 kB / 464 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.4781, allocations: 212 kB / 464.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4781, allocations: 0 / 464.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.5434, allocations: 19.98 MB / 484.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.5437, allocations: 227.3 kB / 484.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.838, allocations: 0 / 484.4 MB, free: 4.242 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsAccurate.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1) Environment - environmentSimulation: