Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.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.SynchronousMachine4WindingsExact,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact",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.0008258/0.0008264, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008109/0.0008109, allocations: 172.7 kB / 15.95 MB, free: 208 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.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05836/0.05836, allocations: 14.17 MB / 284.6 MB, free: 7.125 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.0004867/0.0004867, allocations: 12 kB / 347.6 MB, free: 18.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 51.12 MB / 398.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005315/0.1069, allocations: 4.907 MB / 403.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.1113, allocations: 2.728 MB / 406.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.1117, allocations: 8 kB / 406.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.1123, allocations: 214.9 kB / 406.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.1144, allocations: 0.972 MB / 407.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1152, allocations: 382.6 kB / 407.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.1167, allocations: 1.347 MB / 409.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1169, allocations: 78.02 kB / 409.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.1173, allocations: 414.3 kB / 409.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.1179, allocations: 474.2 kB / 410.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.118, allocations: 36 kB / 410.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.1186, allocations: 279.7 kB / 410.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1187, allocations: 127.4 kB / 410.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.1188, allocations: 165.3 kB / 410.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007782/0.1196, allocations: 0.8297 MB / 411.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1196, allocations: 0 / 411.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1196, allocations: 0 / 411.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1197, allocations: 0 / 411.6 MB, free: 2.297 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.002928/0.1226, allocations: 1.22 MB / 412.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1226, allocations: 19.95 kB / 412.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.344e-05/0.1227, allocations: 82.53 kB / 413 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008762/0.1236, allocations: 151 kB / 413.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.1244, allocations: 0.5273 MB / 413.6 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1245, allocations: 45 kB / 413.7 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1246, allocations: 71.89 kB / 413.8 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.1254, allocations: 478 kB / 414.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1254, allocations: 0 / 414.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.1255, allocations: 20 kB / 414.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1255, allocations: 12 kB / 414.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.1263, allocations: 0.4919 MB / 414.7 MB, free: 15.09 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.00454/0.1308, allocations: 2.907 MB / 417.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.132, allocations: 0.7688 MB / 418.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.1324, allocations: 230.5 kB / 418.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.1325, allocations: 12.55 kB / 418.7 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1325, allocations: 43.12 kB / 418.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.104e-06/0.1325, allocations: 0 / 418.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004876/0.1374, allocations: 2.09 MB / 420.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1375, allocations: 67.91 kB / 420.9 MB, free: 8.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.138, allocations: 0.4909 MB / 421.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.1381, allocations: 45.7 kB / 421.4 MB, free: 7.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1383, allocations: 249.2 kB / 421.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1384, allocations: 236.6 kB / 421.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1385, allocations: 20 kB / 421.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1387, allocations: 370.8 kB / 422.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.1393, allocations: 357.8 kB / 422.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.1399, allocations: 425.4 kB / 423 MB, free: 6.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.1406, allocations: 407 kB / 423.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1406, allocations: 0 / 423.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01007/0.1507, allocations: 1.898 MB / 425.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.1508, allocations: 118.7 kB / 425.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1508, allocations: 0 / 425.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/0.1631, allocations: 1.452 MB / 426.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.164, allocations: 191.8 kB / 427.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1819/0.3459, allocations: 10.1 MB / 437.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/0.3467, allocations: 34.34 kB / 437.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.3468, allocations: 34.12 kB / 437.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.3468, allocations: 3.094 kB / 437.2 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002836/0.3496, allocations: 1.195 MB / 438.4 MB, free: 23.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3496, allocations: 1.375 kB / 438.4 MB, free: 23.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.3518, allocations: 0.6122 MB / 439 MB, free: 23.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.3527, allocations: 222.6 kB / 439.3 MB, free: 23.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007447/0.3601, allocations: 10.56 MB / 449.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.3607, allocations: 33.14 kB / 449.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3607, allocations: 29.98 kB / 449.9 MB, free: 14.17 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,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.3611, allocations: 272.8 kB / 450.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.3612, allocations: 69 kB / 450.2 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.3628, allocations: 0.7822 MB / 451 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3628, allocations: 7.969 kB / 451 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3628, allocations: 2.344 kB / 451 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3628, allocations: 4.391 kB / 451 MB, free: 13.86 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.002203/0.365, allocations: 1.565 MB / 452.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.365, allocations: 0 / 452.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.3656, allocations: 135.9 kB / 452.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007961/0.3664, allocations: 272 kB / 453 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3665, allocations: 18.33 kB / 453 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.3693, allocations: 2.383 MB / 455.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3693, allocations: 3.953 kB / 455.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.371, allocations: 1.118 MB / 456.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.3712, allocations: 184.8 kB / 456.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.3713, allocations: 22.64 kB / 456.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.3716, allocations: 21.69 kB / 456.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3717, allocations: 46.58 kB / 456.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.3718, allocations: 16.38 kB / 456.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.3721, allocations: 331.3 kB / 457.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3721, allocations: 0 / 457.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001396/0.3735, allocations: 465.3 kB / 457.6 MB, free: 10.7 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.001957/0.3755, allocations: 1.724 MB / 459.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.3797, allocations: 3.006 MB / 462.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3797, allocations: 0 / 462.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007698/0.3804, allocations: 0.5254 MB / 462.8 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.381, allocations: 92.72 kB / 462.9 MB, free: 7.348 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.01367/0.3947, allocations: 5.24 MB / 468.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.395, allocations: 0.9193 MB / 469.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.3954, allocations: 76.89 kB / 469.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3956, allocations: 219.3 kB / 469.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3956, allocations: 0 / 469.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.4328, allocations: 22.35 MB / 491.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.4329, allocations: 221.8 kB / 491.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.695, allocations: 0 / 491.9 MB, free: 12.75 MB / 350.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1) Environment - environmentSimulation: