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.001154/0.001155, allocations: 99.16 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.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 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.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05996/0.05996, allocations: 14.17 MB / 284.5 MB, free: 7.145 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.0005736/0.0005737, allocations: 22.59 kB / 347.6 MB, free: 18.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 51.1 MB / 398.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005468/0.1282, allocations: 4.584 MB / 403.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.1328, allocations: 2.713 MB / 406 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.1332, allocations: 11.94 kB / 406 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.1337, allocations: 206.9 kB / 406.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.1359, allocations: 1.035 MB / 407.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.1368, allocations: 375 kB / 407.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1382, allocations: 0.9596 MB / 408.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.1384, allocations: 74.02 kB / 408.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.1389, allocations: 434.5 kB / 409 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.1395, allocations: 470.4 kB / 409.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.1396, allocations: 36 kB / 409.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005772/0.1401, allocations: 259.7 kB / 409.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1403, allocations: 139.4 kB / 409.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1404, allocations: 161.3 kB / 410.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00083/0.1413, allocations: 0.7987 MB / 410.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1413, allocations: 0 / 410.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1413, allocations: 4 kB / 410.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1413, allocations: 0 / 410.9 MB, free: 3.062 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.003187/0.1445, allocations: 1.224 MB / 412.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1446, allocations: 16.02 kB / 412.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1447, allocations: 86.52 kB / 412.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000926/0.1456, allocations: 155 kB / 412.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.1465, allocations: 0.5234 MB / 412.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.1465, allocations: 49 kB / 412.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1466, allocations: 63.91 kB / 413 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.1474, allocations: 478.1 kB / 413.5 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1474, allocations: 3.938 kB / 413.5 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.1475, allocations: 20 kB / 413.5 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1475, allocations: 8 kB / 413.5 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008037/0.1483, allocations: 495.7 kB / 414 MB, free: 15.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 preOpt removeSimpleEquations (simulation): time 0.004856/0.1532, allocations: 2.907 MB / 416.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1544, allocations: 0.7689 MB / 417.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.1545, allocations: 8.656 kB / 417.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1546, allocations: 43.06 kB / 417.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.903e-06/0.1546, allocations: 0 / 417.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005451/0.16, allocations: 2.047 MB / 419.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1601, allocations: 59.97 kB / 419.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.1606, allocations: 0.4909 MB / 420.3 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.1607, allocations: 45.7 kB / 420.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1609, allocations: 253.2 kB / 420.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.1612, allocations: 236.6 kB / 420.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1612, allocations: 27.88 kB / 420.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1614, allocations: 374.8 kB / 421.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.162, allocations: 353.8 kB / 421.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.1626, allocations: 425.4 kB / 422 MB, free: 7.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.1633, allocations: 399 kB / 422.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1634, allocations: 0 / 422.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0109/0.1743, allocations: 1.902 MB / 424.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.1744, allocations: 283 kB / 424.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1745, allocations: 3.938 kB / 424.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/0.1881, allocations: 1.448 MB / 426 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1892, allocations: 199.8 kB / 426.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2551/0.4443, allocations: 10.34 MB / 436.5 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.4452, allocations: 34.41 kB / 436.6 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.4453, allocations: 33.92 kB / 436.6 MB, free: 31.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4453, allocations: 4.156 kB / 436.6 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002901/0.4482, allocations: 1.198 MB / 437.8 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4482, allocations: 4.906 kB / 437.8 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.4507, allocations: 0.6018 MB / 438.4 MB, free: 30.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/0.4516, allocations: 225.7 kB / 438.6 MB, free: 30.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.4601, allocations: 10.65 MB / 449.3 MB, free: 21.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/0.4609, allocations: 37.55 kB / 449.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.4609, allocations: 30.22 kB / 449.3 MB, free: 20.99 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.0004015/0.4613, allocations: 279.4 kB / 449.6 MB, free: 20.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4615, allocations: 66.64 kB / 449.7 MB, free: 20.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4633, allocations: 0.7815 MB / 450.5 MB, free: 20.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4633, allocations: 10.56 kB / 450.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4633, allocations: 3.281 kB / 450.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4633, allocations: 4.703 kB / 450.5 MB, free: 20.36 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.002547/0.4659, allocations: 1.555 MB / 452 MB, free: 19.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4659, allocations: 5.203 kB / 452 MB, free: 19.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.4666, allocations: 135.1 kB / 452.2 MB, free: 19.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009076/0.4675, allocations: 276.5 kB / 452.4 MB, free: 19.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.4675, allocations: 18.09 kB / 452.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.4708, allocations: 2.443 MB / 454.9 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4709, allocations: 1.156 kB / 454.9 MB, free: 17.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.4729, allocations: 1.125 MB / 456 MB, free: 17.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.4732, allocations: 185.1 kB / 456.2 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.4732, allocations: 11.03 kB / 456.2 MB, free: 16.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.4736, allocations: 29.66 kB / 456.2 MB, free: 16.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4738, allocations: 49.52 kB / 456.3 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.4738, allocations: 14.84 kB / 456.3 MB, free: 16.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.4742, allocations: 325.5 kB / 456.6 MB, free: 16.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4742, allocations: 0 / 456.6 MB, free: 16.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4763, allocations: 463.2 kB / 457.1 MB, free: 16.64 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.002405/0.4787, allocations: 1.716 MB / 458.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005201/0.4839, allocations: 3.014 MB / 461.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4839, allocations: 0 / 461.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.4848, allocations: 0.5214 MB / 462.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.4853, allocations: 70.64 kB / 462.4 MB, free: 13.26 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.002844/0.4881, allocations: 2.343 MB / 464.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.4886, allocations: 0.9264 MB / 465.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.489, allocations: 82.91 kB / 465.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.4892, allocations: 213.9 kB / 466 MB, free: 10.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4892, allocations: 0 / 466 MB, free: 10.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/0.5291, allocations: 21.86 MB / 487.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.5294, allocations: 224.6 kB / 488 MB, free: 5.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.88, allocations: 0 / 488 MB, free: 5.105 MB / 334.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: