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: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009562, allocations: 100 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.001646/0.001646, allocations: 177.3 kB / 15.94 MB, free: 220 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.336/1.336, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05812/0.05812, allocations: 14.16 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.0005352/0.0005353, allocations: 15.98 kB / 347.5 MB, free: 18.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08748, allocations: 51.11 MB / 398.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.004604/0.09213, allocations: 4.588 MB / 403.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.09614, allocations: 2.717 MB / 405.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.09644, allocations: 8 kB / 405.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.09692, allocations: 206.8 kB / 406.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.09904, allocations: 1.035 MB / 407.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.09983, allocations: 375 kB / 407.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1012, allocations: 0.952 MB / 408.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1014, allocations: 73.75 kB / 408.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.1019, allocations: 426.6 kB / 408.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.1025, allocations: 462.3 kB / 409.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.1026, allocations: 36 kB / 409.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.1031, allocations: 243.7 kB / 409.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1033, allocations: 131.5 kB / 409.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1034, allocations: 161.3 kB / 409.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007872/0.1042, allocations: 0.8106 MB / 410.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1042, allocations: 0 / 410.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1042, allocations: 0 / 410.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1043, allocations: 4 kB / 410.8 MB, free: 3.18 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.003247/0.1075, allocations: 1.22 MB / 412 MB, free: 1.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1076, allocations: 12.03 kB / 412 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.1079, allocations: 103 kB / 412.1 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/0.1088, allocations: 0.5234 MB / 412.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.1088, allocations: 53 kB / 412.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.109, allocations: 63.91 kB / 412.7 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.1098, allocations: 474.1 kB / 413.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1098, allocations: 0 / 413.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.1098, allocations: 20 kB / 413.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1099, allocations: 12 kB / 413.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008517/0.1107, allocations: 499.7 kB / 413.7 MB, free: 128 kB / 302.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.004674/0.1154, allocations: 2.879 MB / 416.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.1167, allocations: 0.7764 MB / 417.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.1168, allocations: 4.562 kB / 417.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1168, allocations: 39.12 kB / 417.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/0.1168, allocations: 0 / 417.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005353/0.1222, allocations: 2.051 MB / 419.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1222, allocations: 55.97 kB / 419.5 MB, free: 9.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.1228, allocations: 0.4986 MB / 420 MB, free: 9.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.1229, allocations: 45.7 kB / 420.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1231, allocations: 253.2 kB / 420.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.1233, allocations: 232.7 kB / 420.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.1233, allocations: 20 kB / 420.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1235, allocations: 374.8 kB / 420.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.1241, allocations: 333.9 kB / 421.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.1247, allocations: 409.4 kB / 421.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.1253, allocations: 387 kB / 422 MB, free: 7.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1253, allocations: 3.938 kB / 422 MB, free: 7.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004977/0.1303, allocations: 1.601 MB / 423.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.1305, allocations: 283 kB / 423.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1305, allocations: 0 / 423.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005069/0.1356, allocations: 1.007 MB / 424.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.1364, allocations: 195.8 kB / 425.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1671/0.3035, allocations: 9.531 MB / 434.6 MB, free: 24.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.3042, allocations: 36.73 kB / 434.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.3043, allocations: 28.52 kB / 434.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3043, allocations: 8.609 kB / 434.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002793/0.3071, allocations: 1.203 MB / 435.9 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3071, allocations: 2.828 kB / 435.9 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.3095, allocations: 0.5883 MB / 436.5 MB, free: 24.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/0.3105, allocations: 224.7 kB / 436.7 MB, free: 24.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/0.3181, allocations: 10.64 MB / 447.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.3188, allocations: 33.84 kB / 447.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3189, allocations: 35.88 kB / 447.4 MB, free: 15.5 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.0003169/0.3192, allocations: 275.5 kB / 447.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3193, allocations: 65.19 kB / 447.8 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.3209, allocations: 0.788 MB / 448.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3209, allocations: 10.39 kB / 448.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3209, allocations: 4.656 kB / 448.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.321, allocations: 6.719 kB / 448.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.3233, allocations: 1.556 MB / 450.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3233, allocations: 2.047 kB / 450.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.324, allocations: 137.9 kB / 450.3 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/0.3249, allocations: 277.2 kB / 450.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.3249, allocations: 11.19 kB / 450.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.3279, allocations: 2.445 MB / 453 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3279, allocations: 0 / 453 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3297, allocations: 1.135 MB / 454.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.3299, allocations: 183.2 kB / 454.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.33, allocations: 10.81 kB / 454.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.3304, allocations: 26.53 kB / 454.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.3305, allocations: 42.44 kB / 454.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.3305, allocations: 19.23 kB / 454.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.3308, allocations: 334.4 kB / 454.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3309, allocations: 0 / 454.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001331/0.3322, allocations: 449.8 kB / 455.2 MB, free: 12.66 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.0002159/0.3324, allocations: 150.7 kB / 455.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.3369, allocations: 2.997 MB / 458.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3369, allocations: 1.688 kB / 458.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.3378, allocations: 0.5202 MB / 458.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3383, allocations: 70.3 kB / 458.9 MB, free: 10.32 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.001786/0.3401, allocations: 1.62 MB / 460.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3404, allocations: 0.9253 MB / 461.4 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.3408, allocations: 80.92 kB / 461.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3409, allocations: 40.94 kB / 461.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3409, allocations: 0 / 461.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01953/0.3605, allocations: 14.43 MB / 476 MB, free: 12.88 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.makefile Environment - environmentSimulation: (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 & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1) Environment - environmentSimulation: