Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 96.66 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.001165/0.001165, allocations: 171.9 kB / 16.57 MB, free: 6.395 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.641/1.641, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06337/0.06337, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.000909/0.0009092, allocations: 12 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1271, allocations: 51.12 MB / 397.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.005652/0.1328, allocations: 4.585 MB / 402.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.1381, allocations: 2.705 MB / 405.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.1391, allocations: 15.94 kB / 405.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009434/0.14, allocations: 210.8 kB / 405.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.1431, allocations: 1.03 MB / 406.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.1441, allocations: 367.1 kB / 406.8 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.1462, allocations: 0.9518 MB / 407.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1464, allocations: 81.69 kB / 407.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1475, allocations: 414.6 kB / 408.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.1487, allocations: 454.3 kB / 408.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.149, allocations: 36 kB / 408.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1503, allocations: 231.8 kB / 408.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.1505, allocations: 131.4 kB / 409.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.151, allocations: 161.3 kB / 409.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1527, allocations: 0.7911 MB / 410 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1527, allocations: 4 kB / 410 MB, free: 4.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1527, allocations: 0 / 410 MB, free: 4.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-05/0.1528, allocations: 0 / 410 MB, free: 4.578 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.004015/0.1568, allocations: 1.224 MB / 411.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1569, allocations: 8.031 kB / 411.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.1574, allocations: 107 kB / 411.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1585, allocations: 0.5078 MB / 411.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.1585, allocations: 45 kB / 411.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1586, allocations: 71.89 kB / 412 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.1595, allocations: 482 kB / 412.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1595, allocations: 0 / 412.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1595, allocations: 16 kB / 412.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1596, allocations: 8 kB / 412.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.1604, allocations: 499.7 kB / 413 MB, free: 1.535 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.004435/0.1648, allocations: 2.868 MB / 415.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.1662, allocations: 0.7728 MB / 416.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.1662, allocations: 16.55 kB / 416.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1663, allocations: 39.12 kB / 416.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.1663, allocations: 0 / 416.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005324/0.1716, allocations: 2.047 MB / 418.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1717, allocations: 55.97 kB / 418.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.1723, allocations: 0.4987 MB / 419.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.1724, allocations: 45.64 kB / 419.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.1726, allocations: 257.2 kB / 419.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.1728, allocations: 224.7 kB / 419.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1729, allocations: 20 kB / 419.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.173, allocations: 378.8 kB / 420.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.1736, allocations: 317.9 kB / 420.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.1742, allocations: 393.4 kB / 420.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.1748, allocations: 371 kB / 421.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1748, allocations: 0 / 421.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003071/0.1779, allocations: 1.275 MB / 422.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1779, allocations: 8 kB / 422.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.1779, allocations: 7.875 kB / 422.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.1804, allocations: 0.599 MB / 423.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.1814, allocations: 223.7 kB / 423.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2169/0.3984, allocations: 10.67 MB / 434 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.3991, allocations: 38.03 kB / 434 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.3992, allocations: 32.19 kB / 434.1 MB, free: 24.46 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.0002734/0.3994, allocations: 205.4 kB / 434.3 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3995, allocations: 61.31 kB / 434.3 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.4012, allocations: 0.7884 MB / 435.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4012, allocations: 6.312 kB / 435.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4012, allocations: 7.359 kB / 435.1 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4012, allocations: 7.656 kB / 435.1 MB, free: 24.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.4037, allocations: 1.558 MB / 436.7 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4037, allocations: 3.281 kB / 436.7 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.4043, allocations: 135.4 kB / 436.8 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/0.4052, allocations: 272.5 kB / 437.1 MB, free: 23.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.4053, allocations: 14.69 kB / 437.1 MB, free: 23.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.4084, allocations: 2.438 MB / 439.5 MB, free: 22.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4084, allocations: 1.375 kB / 439.5 MB, free: 22.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.4259, allocations: 8.754 MB / 448.3 MB, free: 19.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.4262, allocations: 178.8 kB / 448.5 MB, free: 19.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.4263, allocations: 18.12 kB / 448.5 MB, free: 19.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.4266, allocations: 32.41 kB / 448.5 MB, free: 19.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.4268, allocations: 42.94 kB / 448.6 MB, free: 19.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.4269, allocations: 14.72 kB / 448.6 MB, free: 19.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.4273, allocations: 332.6 kB / 448.9 MB, free: 19.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4273, allocations: 0 / 448.9 MB, free: 19.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001367/0.4287, allocations: 346.2 kB / 449.2 MB, free: 19.11 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.0002419/0.4289, allocations: 159.7 kB / 449.4 MB, free: 19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.4313, allocations: 1.669 MB / 451.1 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4313, allocations: 4 kB / 451.1 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.4323, allocations: 0.5294 MB / 451.6 MB, free: 17.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.4327, allocations: 75.55 kB / 451.7 MB, free: 17.59 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.00321/0.436, allocations: 2.269 MB / 453.9 MB, free: 16.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4363, allocations: 0.9351 MB / 454.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.4366, allocations: 70.33 kB / 454.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4368, allocations: 43.97 kB / 455 MB, free: 15.38 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4368, allocations: 0 / 455 MB, free: 15.38 MB / 318.1 MB Notification: Performance of Templates: time 0.01712/0.4539, allocations: 11.35 MB / 466.3 MB, free: 7.262 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) Environment - environmentSimulation: