Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.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.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 99.86 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.0009783/0.0009781, allocations: 177.3 kB / 15.94 MB, free: 228 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.319/1.319, allocations: 205.4 MB / 222.1 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.06226/0.06226, allocations: 14.15 MB / 284.5 MB, free: 7.152 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.000541/0.000541, allocations: 12 kB / 347.5 MB, free: 18.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.0899, allocations: 51.11 MB / 398.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate): time 0.004629/0.09457, allocations: 4.584 MB / 403.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.09885, allocations: 2.713 MB / 405.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.0993, allocations: 4 kB / 405.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.09985, allocations: 214.8 kB / 406.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.1022, allocations: 1.031 MB / 407.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.1031, allocations: 371 kB / 407.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1046, allocations: 0.9598 MB / 408.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.1048, allocations: 73.73 kB / 408.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.1054, allocations: 426.6 kB / 408.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.1059, allocations: 458.4 kB / 409.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.106, allocations: 39.98 kB / 409.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.1065, allocations: 243.7 kB / 409.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1067, allocations: 131.5 kB / 409.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1068, allocations: 165.3 kB / 409.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.1076, allocations: 0.8028 MB / 410.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1076, allocations: 0 / 410.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1076, allocations: 0 / 410.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1076, allocations: 0 / 410.7 MB, free: 3.203 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.003205/0.1108, allocations: 1.224 MB / 412 MB, free: 1.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1109, allocations: 8.031 kB / 412 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.1113, allocations: 103 kB / 412.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.1121, allocations: 0.5234 MB / 412.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1122, allocations: 41 kB / 412.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1123, allocations: 63.91 kB / 412.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.1131, allocations: 486.1 kB / 413.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1131, allocations: 0 / 413.2 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.1131, allocations: 16 kB / 413.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1132, allocations: 8 kB / 413.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/0.114, allocations: 499.6 kB / 413.7 MB, free: 160 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.0045/0.1185, allocations: 2.883 MB / 416.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.1198, allocations: 0.7697 MB / 417.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.1198, allocations: 9.312 kB / 417.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.1199, allocations: 35.12 kB / 417.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.1199, allocations: 11.94 kB / 417.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005125/0.125, allocations: 2.043 MB / 419.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1251, allocations: 63.97 kB / 419.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.1256, allocations: 0.4909 MB / 420 MB, free: 9.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.1257, allocations: 45.7 kB / 420 MB, free: 9.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1259, allocations: 249.2 kB / 420.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.1261, allocations: 232.7 kB / 420.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.1261, allocations: 20 kB / 420.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1263, allocations: 370.8 kB / 420.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.1269, allocations: 333.9 kB / 421.2 MB, free: 8.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.1275, allocations: 413.3 kB / 421.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.1281, allocations: 383 kB / 422 MB, free: 7.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1281, allocations: 4 kB / 422 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004853/0.133, allocations: 1.593 MB / 423.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.1331, allocations: 282.9 kB / 423.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1331, allocations: 4.062 kB / 423.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004967/0.1381, allocations: 1.026 MB / 424.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/0.139, allocations: 203.8 kB / 425.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1649/0.3039, allocations: 9.544 MB / 434.6 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.3048, allocations: 37.7 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.3048, allocations: 34.59 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3049, allocations: 6.984 kB / 434.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002767/0.3076, allocations: 1.196 MB / 435.9 MB, free: 24.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3076, allocations: 0 / 435.9 MB, free: 24.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.31, allocations: 0.6061 MB / 436.5 MB, free: 24.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.3109, allocations: 224.8 kB / 436.7 MB, free: 24.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.3186, allocations: 10.63 MB / 447.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.3193, allocations: 35.44 kB / 447.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.3193, allocations: 36.12 kB / 447.4 MB, free: 15.23 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.0003006/0.3196, allocations: 275.3 kB / 447.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.3197, allocations: 64.14 kB / 447.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.3213, allocations: 0.7833 MB / 448.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3214, allocations: 13.36 kB / 448.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3214, allocations: 0 / 448.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3214, allocations: 9.234 kB / 448.6 MB, free: 14.92 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.002393/0.3238, allocations: 1.564 MB / 450.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3238, allocations: 0 / 450.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.3244, allocations: 136.1 kB / 450.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/0.3253, allocations: 275 kB / 450.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.3254, allocations: 15.33 kB / 450.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.3284, allocations: 2.447 MB / 453 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3284, allocations: 0 / 453 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.3303, allocations: 1.125 MB / 454.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3305, allocations: 180.2 kB / 454.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.3306, allocations: 11.41 kB / 454.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3309, allocations: 26.8 kB / 454.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.331, allocations: 42.61 kB / 454.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.3311, allocations: 23.55 kB / 454.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.3314, allocations: 329.3 kB / 454.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 1.062 kB / 454.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001286/0.3327, allocations: 451.6 kB / 455.2 MB, free: 12.41 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.0002177/0.3329, allocations: 159.4 kB / 455.3 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.3369, allocations: 2.997 MB / 458.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.337, allocations: 0 / 458.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.3378, allocations: 0.5229 MB / 458.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3382, allocations: 77.16 kB / 458.9 MB, free: 10.07 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.001639/0.3399, allocations: 1.611 MB / 460.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3402, allocations: 0.9243 MB / 461.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.3405, allocations: 85.5 kB / 461.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3406, allocations: 46.17 kB / 461.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3406, allocations: 4 kB / 461.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of Templates: time 0.01882/0.3595, allocations: 14.37 MB / 476 MB, free: 12.66 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsAccurate.pipe 2>&1) Environment - environmentSimulation: