Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,fileNamePrefix="PowerGrids_symb_jac_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.000972/0.000972, allocations: 97.2 kB / 15.7 MB, free: 472 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.001007/0.001007, allocations: 179.5 kB / 16.58 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.75/1.75, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05987/0.05987, 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.0006101/0.0006101, allocations: 19.94 kB / 348.2 MB, free: 18.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 51.11 MB / 399.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005782/0.1437, allocations: 4.593 MB / 403.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.1496, allocations: 2.709 MB / 406.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.1507, allocations: 11.94 kB / 406.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1517, allocations: 206.9 kB / 406.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.1546, allocations: 1.042 MB / 407.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.1555, allocations: 378.3 kB / 408.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.157, allocations: 0.9637 MB / 409.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1573, allocations: 82.02 kB / 409.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.1579, allocations: 426.6 kB / 409.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.1585, allocations: 474.3 kB / 410.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.794e-05/0.1586, allocations: 36 kB / 410.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.1593, allocations: 259.7 kB / 410.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1595, allocations: 135.4 kB / 410.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.1596, allocations: 157.4 kB / 410.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009145/0.1606, allocations: 0.8025 MB / 411.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1606, allocations: 4 kB / 411.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1606, allocations: 0 / 411.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1606, allocations: 0 / 411.5 MB, free: 3.047 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.003324/0.1639, allocations: 1.224 MB / 412.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.164, allocations: 16.02 kB / 412.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1641, allocations: 90.45 kB / 412.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.1651, allocations: 151 kB / 413 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.166, allocations: 0.5195 MB / 413.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.166, allocations: 49 kB / 413.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1661, allocations: 67.84 kB / 413.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.1669, allocations: 474.1 kB / 414.1 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.167, allocations: 0 / 414.1 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.167, allocations: 20 kB / 414.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.167, allocations: 12 kB / 414.1 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.1679, allocations: 495.7 kB / 414.6 MB, free: 15.85 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.005112/0.173, allocations: 2.907 MB / 417.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.1743, allocations: 0.7697 MB / 418.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.1744, allocations: 12.55 kB / 418.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1744, allocations: 35.12 kB / 418.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.964e-06/0.1745, allocations: 0 / 418.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005211/0.1797, allocations: 2.051 MB / 420.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1797, allocations: 59.97 kB / 420.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.1803, allocations: 0.4948 MB / 421 MB, free: 9.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.1804, allocations: 41.7 kB / 421 MB, free: 9.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.1806, allocations: 257.2 kB / 421.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.1808, allocations: 236.6 kB / 421.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.1809, allocations: 23.94 kB / 421.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1811, allocations: 374.8 kB / 421.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.1817, allocations: 353.8 kB / 422.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.1823, allocations: 429.4 kB / 422.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.183, allocations: 399 kB / 423 MB, free: 6.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.183, allocations: 0 / 423 MB, free: 6.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01146/0.1945, allocations: 1.905 MB / 424.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.1948, allocations: 279 kB / 425.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1948, allocations: 0 / 425.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.2085, allocations: 1.44 MB / 426.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.2095, allocations: 199.8 kB / 426.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2518/0.4613, allocations: 10.33 MB / 437.2 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.4624, allocations: 40.94 kB / 437.2 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.4625, allocations: 31.69 kB / 437.2 MB, free: 24.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4626, allocations: 10.16 kB / 437.2 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003459/0.466, allocations: 1.2 MB / 438.4 MB, free: 24.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.466, allocations: 1.062 kB / 438.4 MB, free: 24.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.4687, allocations: 0.5989 MB / 439 MB, free: 23.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.4697, allocations: 225.5 kB / 439.3 MB, free: 23.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009799/0.4795, allocations: 10.64 MB / 449.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.4804, allocations: 42.12 kB / 450 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.4804, allocations: 31.5 kB / 450 MB, free: 14.94 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.0004665/0.4809, allocations: 272.6 kB / 450.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.4811, allocations: 63.23 kB / 450.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.483, allocations: 0.7863 MB / 451.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.483, allocations: 6.219 kB / 451.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.483, allocations: 4.281 kB / 451.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.483, allocations: 3.234 kB / 451.1 MB, free: 14.64 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.002713/0.4858, allocations: 1.559 MB / 452.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4858, allocations: 1.5 kB / 452.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.4864, allocations: 136.9 kB / 452.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009242/0.4874, allocations: 274.6 kB / 453.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.4874, allocations: 15.41 kB / 453.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.4907, allocations: 2.443 MB / 455.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4907, allocations: 0 / 455.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/0.5068, allocations: 8.76 MB / 464.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.5071, allocations: 183 kB / 464.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.5072, allocations: 10.16 kB / 464.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5076, allocations: 28.64 kB / 464.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5077, allocations: 47.44 kB / 464.6 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.5078, allocations: 12.69 kB / 464.6 MB, free: 7.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003923/0.5082, allocations: 330 kB / 464.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5082, allocations: 0 / 464.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002316/0.5105, allocations: 0.6214 MB / 465.5 MB, free: 6.949 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.002126/0.5126, allocations: 1.724 MB / 467.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.5176, allocations: 3.013 MB / 470.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5176, allocations: 0 / 470.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009034/0.5185, allocations: 0.5199 MB / 470.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.5191, allocations: 78.09 kB / 470.8 MB, free: 2.57 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.003826/0.523, allocations: 3.012 MB / 473.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.5236, allocations: 0.9556 MB / 474.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004427/0.524, allocations: 84.48 kB / 474.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.5244, allocations: 215.4 kB / 475.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5244, allocations: 7.375 kB / 475.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.571, allocations: 23.8 MB / 498.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.5712, allocations: 238.7 kB / 499.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/2.959, allocations: 4 kB / 499.1 MB, free: 6.285 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1) Environment - environmentSimulation: