Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 96.5 kB / 15.69 MB, free: 480 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.001374/0.001374, allocations: 178.5 kB / 16.57 MB, free: 6.391 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.79/1.79, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06331/0.06331, allocations: 14.15 MB / 285.2 MB, free: 7.172 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.0005369/0.0005368, allocations: 12 kB / 346.8 MB, free: 19.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1258, allocations: 51.12 MB / 397.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.005012/0.1308, allocations: 4.585 MB / 402.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.1356, allocations: 2.705 MB / 405.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/0.1361, allocations: 11.94 kB / 405.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.1368, allocations: 210.9 kB / 405.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1393, allocations: 1.034 MB / 406.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.1403, allocations: 375 kB / 406.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1418, allocations: 0.9478 MB / 407.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.142, allocations: 73.75 kB / 407.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.1425, allocations: 418.6 kB / 408.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.1431, allocations: 446.4 kB / 408.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.1431, allocations: 36 kB / 408.7 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.1437, allocations: 239.8 kB / 408.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1439, allocations: 123.5 kB / 409.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.144, allocations: 161.3 kB / 409.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.1449, allocations: 0.795 MB / 410 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1449, allocations: 4 kB / 410 MB, free: 4.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1449, allocations: 0 / 410 MB, free: 4.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1449, allocations: 0 / 410 MB, free: 4.59 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.00333/0.1483, allocations: 1.22 MB / 411.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1483, allocations: 12.03 kB / 411.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.1487, allocations: 103 kB / 411.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.1496, allocations: 0.5079 MB / 411.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1496, allocations: 45 kB / 411.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1497, allocations: 67.91 kB / 412 MB, free: 2.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.1505, allocations: 478 kB / 412.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1505, allocations: 0 / 412.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1506, allocations: 20 kB / 412.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1506, allocations: 12 kB / 412.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.1515, allocations: 495.7 kB / 412.9 MB, free: 1.555 MB / 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.00449/0.156, allocations: 2.868 MB / 415.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.1573, allocations: 0.7765 MB / 416.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.1574, allocations: 12.55 kB / 416.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1574, allocations: 35.12 kB / 416.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.986e-06/0.1574, allocations: 0 / 416.6 MB, free: 13.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.00516/0.1626, allocations: 2.051 MB / 418.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1626, allocations: 59.97 kB / 418.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.1632, allocations: 0.4909 MB / 419.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.1633, allocations: 45.7 kB / 419.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.1635, allocations: 253.2 kB / 419.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.1637, allocations: 232.7 kB / 419.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1638, allocations: 16 kB / 419.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1639, allocations: 370.8 kB / 420.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.1645, allocations: 329.8 kB / 420.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.1651, allocations: 393.4 kB / 420.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1657, allocations: 367 kB / 421.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1657, allocations: 0 / 421.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002905/0.1686, allocations: 1.271 MB / 422.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1687, allocations: 7.984 kB / 422.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1687, allocations: 4 kB / 422.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.1712, allocations: 0.6184 MB / 423.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.1722, allocations: 219.8 kB / 423.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2463/0.4185, allocations: 10.67 MB / 434 MB, free: 25.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.4194, allocations: 32.44 kB / 434 MB, free: 25.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.4194, allocations: 32.47 kB / 434 MB, free: 25.01 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.4199, allocations: 201.7 kB / 434.2 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.4201, allocations: 64.16 kB / 434.3 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.422, allocations: 0.789 MB / 435.1 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4221, allocations: 9.969 kB / 435.1 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4221, allocations: 7.047 kB / 435.1 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4221, allocations: 7.938 kB / 435.1 MB, free: 24.83 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.002629/0.4247, allocations: 1.556 MB / 436.7 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4247, allocations: 3.25 kB / 436.7 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.4254, allocations: 133.5 kB / 436.8 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009804/0.4264, allocations: 275.1 kB / 437.1 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.4265, allocations: 12.47 kB / 437.1 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.4298, allocations: 2.448 MB / 439.5 MB, free: 23.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4298, allocations: 3.891 kB / 439.5 MB, free: 23.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/0.4478, allocations: 8.74 MB / 448.3 MB, free: 19.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.4481, allocations: 176.3 kB / 448.5 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.4482, allocations: 11.94 kB / 448.5 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.4487, allocations: 32.12 kB / 448.5 MB, free: 19.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.4489, allocations: 47.38 kB / 448.5 MB, free: 19.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.449, allocations: 19.19 kB / 448.6 MB, free: 19.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004845/0.4495, allocations: 326.9 kB / 448.9 MB, free: 19.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4495, allocations: 0 / 448.9 MB, free: 19.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001547/0.451, allocations: 348.4 kB / 449.2 MB, free: 19.36 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.0003371/0.4514, allocations: 161.1 kB / 449.4 MB, free: 19.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.4546, allocations: 1.673 MB / 451.1 MB, free: 18.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4547, allocations: 0 / 451.1 MB, free: 18.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.4558, allocations: 0.5275 MB / 451.6 MB, free: 17.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.4564, allocations: 78.48 kB / 451.7 MB, free: 17.84 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.003782/0.4602, allocations: 2.273 MB / 453.9 MB, free: 16.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.4607, allocations: 0.932 MB / 454.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.4611, allocations: 71.72 kB / 454.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.4613, allocations: 46.89 kB / 455 MB, free: 15.63 MB / 318.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4613, allocations: 1.594 kB / 455 MB, free: 15.63 MB / 318.1 MB Notification: Performance of Templates: time 0.01866/0.48, allocations: 11.27 MB / 466.3 MB, free: 7.531 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) Environment - environmentSimulation: