Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",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.0008314/0.0008314, allocations: 88.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 178.9 kB / 16.59 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06123/0.06123, allocations: 14.17 MB / 285.2 MB, free: 7.141 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.000506/0.0005061, allocations: 22.59 kB / 348.3 MB, free: 18.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1163, allocations: 51.11 MB / 399.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.00588/0.1222, allocations: 4.902 MB / 404.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.1275, allocations: 2.736 MB / 407 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.1281, allocations: 11.94 kB / 407 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.1288, allocations: 218.9 kB / 407.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.1312, allocations: 0.9638 MB / 408.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.1321, allocations: 379.2 kB / 408.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.134, allocations: 1.355 MB / 409.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1341, allocations: 70.03 kB / 410 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.1346, allocations: 410.4 kB / 410.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.1352, allocations: 478.1 kB / 410.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.1353, allocations: 43.94 kB / 410.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.136, allocations: 275.7 kB / 411.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1362, allocations: 135.4 kB / 411.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1364, allocations: 165.3 kB / 411.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009102/0.1373, allocations: 0.8182 MB / 412.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1373, allocations: 0 / 412.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1373, allocations: 3.984 kB / 412.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1373, allocations: 0 / 412.3 MB, free: 2.309 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.003126/0.1405, allocations: 1.239 MB / 413.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1405, allocations: 12.02 kB / 413.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1406, allocations: 78.53 kB / 413.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.1415, allocations: 155 kB / 413.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.1424, allocations: 0.5234 MB / 414.3 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1425, allocations: 41 kB / 414.3 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1426, allocations: 63.91 kB / 414.4 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.1434, allocations: 494.2 kB / 414.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1435, allocations: 0 / 414.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.1435, allocations: 16 kB / 414.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1435, allocations: 11.94 kB / 414.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.1444, allocations: 495.7 kB / 415.4 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.004592/0.149, allocations: 2.907 MB / 418.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1503, allocations: 0.7729 MB / 419.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.1507, allocations: 238.5 kB / 419.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.1507, allocations: 4.562 kB / 419.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1508, allocations: 47.06 kB / 419.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.704e-06/0.1508, allocations: 0 / 419.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005084/0.1559, allocations: 2.09 MB / 421.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1559, allocations: 55.97 kB / 421.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.1565, allocations: 0.4987 MB / 422 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.1566, allocations: 41.7 kB / 422 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1568, allocations: 261.2 kB / 422.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.1571, allocations: 228.6 kB / 422.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.1572, allocations: 16 kB / 422.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.1574, allocations: 382.7 kB / 422.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.158, allocations: 353.9 kB / 423.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.1587, allocations: 437.3 kB / 423.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/0.1594, allocations: 399 kB / 424.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1594, allocations: 0 / 424.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0103/0.1697, allocations: 1.905 MB / 426 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1698, allocations: 114.7 kB / 426.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1699, allocations: 4 kB / 426.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.1825, allocations: 1.435 MB / 427.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.1834, allocations: 203.8 kB / 427.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2519/0.4354, allocations: 10.08 MB / 437.8 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.4362, allocations: 38.02 kB / 437.8 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.4363, allocations: 32.67 kB / 437.9 MB, free: 23.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4363, allocations: 3.281 kB / 437.9 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002912/0.4392, allocations: 1.207 MB / 439.1 MB, free: 23.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4392, allocations: 1.438 kB / 439.1 MB, free: 23.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.4416, allocations: 0.593 MB / 439.7 MB, free: 23.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.4425, allocations: 214.9 kB / 439.9 MB, free: 23.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008208/0.4508, allocations: 10.55 MB / 450.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.4515, allocations: 33.81 kB / 450.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.4516, allocations: 32.7 kB / 450.5 MB, free: 14.16 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.0004563/0.452, allocations: 274 kB / 450.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.4521, allocations: 66.41 kB / 450.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.454, allocations: 0.7838 MB / 451.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.454, allocations: 10.62 kB / 451.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.454, allocations: 3.281 kB / 451.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.454, allocations: 3.469 kB / 451.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.4572, allocations: 1.567 MB / 453.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4572, allocations: 0 / 453.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.4578, allocations: 135.8 kB / 453.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008419/0.4587, allocations: 278 kB / 453.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.4587, allocations: 14.47 kB / 453.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.4619, allocations: 2.386 MB / 456 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4619, allocations: 3.953 kB / 456 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.475, allocations: 8.152 MB / 464.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4752, allocations: 192.9 kB / 464.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.4753, allocations: 14.36 kB / 464.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.4757, allocations: 27.94 kB / 464.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4758, allocations: 40.31 kB / 464.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.4758, allocations: 15.47 kB / 464.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.4762, allocations: 329 kB / 464.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4762, allocations: 0 / 464.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001976/0.4782, allocations: 0.6367 MB / 465.4 MB, free: 6.305 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.001954/0.4801, allocations: 1.712 MB / 467.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004396/0.4845, allocations: 3.004 MB / 470.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4846, allocations: 0 / 470.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.4854, allocations: 0.5189 MB / 470.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.486, allocations: 99.02 kB / 470.7 MB, free: 2.285 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.01645/0.5024, allocations: 5.95 MB / 476.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.5032, allocations: 0.9322 MB / 477.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.5037, allocations: 84.83 kB / 477.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.5041, allocations: 215.4 kB / 477.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of SimCode: time 1.754e-06/0.5041, allocations: 2.625 kB / 477.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05792/0.562, allocations: 24.36 MB / 0.4905 GB, free: 2.82 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.5623, allocations: 243.3 kB / 0.4907 GB, free: 2.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.17, allocations: 4 kB / 0.4907 GB, free: 2.574 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1) Environment - environmentSimulation: