Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",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.0007661/0.0007661, 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.0007728/0.0007728, 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.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06047/0.06047, allocations: 14.17 MB / 284.6 MB, free: 7.121 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.0004766/0.0004767, allocations: 14.81 kB / 347.6 MB, free: 18.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08363, allocations: 51.12 MB / 398.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.004614/0.08829, allocations: 4.903 MB / 403.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.09235, allocations: 2.732 MB / 406.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.0929, allocations: 4 kB / 406.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.09355, allocations: 214.9 kB / 406.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.09578, allocations: 0.9877 MB / 407.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.09656, allocations: 371.2 kB / 407.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.09814, allocations: 1.343 MB / 409.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.09836, allocations: 78.02 kB / 409.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/0.09896, allocations: 414.4 kB / 409.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.09961, allocations: 474.1 kB / 410.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.09975, allocations: 36 kB / 410.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.1004, allocations: 251.8 kB / 410.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1005, allocations: 135.4 kB / 410.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.1007, allocations: 161.3 kB / 410.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.1016, allocations: 0.8142 MB / 411.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1016, allocations: 0 / 411.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1016, allocations: 0 / 411.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.1016, allocations: 0 / 411.6 MB, free: 2.332 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.003099/0.1047, allocations: 1.224 MB / 412.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1048, allocations: 12.02 kB / 412.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1049, allocations: 82.52 kB / 412.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.1053, allocations: 115 kB / 413 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.1061, allocations: 0.5156 MB / 413.5 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.1062, allocations: 45 kB / 413.6 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.1063, allocations: 67.84 kB / 413.7 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.1071, allocations: 486 kB / 414.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1071, allocations: 0 / 414.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1072, allocations: 19.98 kB / 414.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.1072, allocations: 12 kB / 414.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.1083, allocations: 491.7 kB / 414.6 MB, free: 15.18 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.004056/0.1124, allocations: 2.879 MB / 417.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.1136, allocations: 0.7728 MB / 418.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.1139, allocations: 238.5 kB / 418.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.114, allocations: 12.56 kB / 418.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.114, allocations: 39.06 kB / 418.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.114, allocations: 4 kB / 418.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004983/0.119, allocations: 2.086 MB / 420.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1191, allocations: 59.97 kB / 420.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.1196, allocations: 0.4986 MB / 421.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.1197, allocations: 45.7 kB / 421.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1199, allocations: 253.2 kB / 421.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1201, allocations: 236.6 kB / 421.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.1201, allocations: 20 kB / 421.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1203, allocations: 378.8 kB / 422.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.1208, allocations: 329.9 kB / 422.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.1214, allocations: 409.4 kB / 422.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.1221, allocations: 383 kB / 423.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1221, allocations: 4 kB / 423.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004558/0.1267, allocations: 1.601 MB / 424.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.631e-05/0.1268, allocations: 121.5 kB / 425 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1268, allocations: 0 / 425 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/0.1314, allocations: 1.003 MB / 426 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.1323, allocations: 207.8 kB / 426.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1687/0.3011, allocations: 9.356 MB / 435.5 MB, free: 32.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.3018, allocations: 29.89 kB / 435.5 MB, free: 32.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.3019, allocations: 37.19 kB / 435.6 MB, free: 32.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3019, allocations: 3.125 kB / 435.6 MB, free: 32.1 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003007/0.3049, allocations: 1.198 MB / 436.8 MB, free: 31.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.305, allocations: 1.125 kB / 436.8 MB, free: 31.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.3073, allocations: 0.5943 MB / 437.4 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.3084, allocations: 216 kB / 437.6 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007732/0.3161, allocations: 10.55 MB / 448.1 MB, free: 21.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/0.3167, allocations: 38.39 kB / 448.2 MB, free: 21.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.3168, allocations: 30.86 kB / 448.2 MB, free: 21.62 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.000307/0.3172, allocations: 271.1 kB / 448.5 MB, free: 21.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3173, allocations: 62.75 kB / 448.5 MB, free: 21.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.3188, allocations: 0.7896 MB / 449.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3188, allocations: 5.875 kB / 449.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.3189, allocations: 12.2 kB / 449.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3189, allocations: 2.953 kB / 449.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.3213, allocations: 1.556 MB / 450.9 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3214, allocations: 0 / 450.9 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.322, allocations: 142.5 kB / 451 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008432/0.3228, allocations: 271.2 kB / 451.3 MB, free: 20.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.3229, allocations: 12.88 kB / 451.3 MB, free: 20.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.3258, allocations: 2.389 MB / 453.7 MB, free: 18.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3258, allocations: 0.9062 kB / 453.7 MB, free: 18.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.3277, allocations: 1.127 MB / 454.8 MB, free: 17.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.328, allocations: 185.9 kB / 455 MB, free: 17.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3281, allocations: 14.72 kB / 455 MB, free: 17.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.3285, allocations: 28.75 kB / 455.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3286, allocations: 44.64 kB / 455.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.3286, allocations: 18.81 kB / 455.1 MB, free: 17.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.329, allocations: 329.4 kB / 455.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.329, allocations: 1.469 kB / 455.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001539/0.3306, allocations: 455.5 kB / 455.9 MB, free: 17.3 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.002078/0.3327, allocations: 1.724 MB / 457.6 MB, free: 16.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.337, allocations: 2.99 MB / 460.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.337, allocations: 0 / 460.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.3378, allocations: 0.5217 MB / 461.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.3384, allocations: 85.97 kB / 461.2 MB, free: 13.92 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.009086/0.3475, allocations: 4.934 MB / 466.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3479, allocations: 0.9124 MB / 467.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004243/0.3484, allocations: 76.84 kB / 467.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3487, allocations: 215.4 kB / 467.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3487, allocations: 4 kB / 467.3 MB, free: 9.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.3879, allocations: 20.53 MB / 487.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.3882, allocations: 236.3 kB / 488.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.634, allocations: 0 / 488.1 MB, free: 4.898 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1) Environment - environmentSimulation: