Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 96.19 kB / 269.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05968/0.05968, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009684, allocations: 59.83 kB / 391.6 MB, free: 64.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08097, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.004468/0.08549, allocations: 5.618 MB / 447.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.0888, allocations: 2.96 MB / 450.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.08907, allocations: 11.94 kB / 450.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.0896, allocations: 242.9 kB / 450.6 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.09153, allocations: 1.124 MB / 451.7 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.0922, allocations: 450.4 kB / 452.2 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.09319, allocations: 1.402 MB / 453.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.09334, allocations: 73.75 kB / 453.6 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.09365, allocations: 418.2 kB / 454 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.09403, allocations: 481.9 kB / 454.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.09411, allocations: 36 kB / 454.6 MB, free: 1.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.09456, allocations: 267.8 kB / 454.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.09466, allocations: 139.3 kB / 455 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.09498, allocations: 393.9 kB / 455.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007431/0.09573, allocations: 1.059 MB / 456.4 MB, free: 28 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.09574, allocations: 0 / 456.4 MB, free: 28 kB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.09575, allocations: 0 / 456.4 MB, free: 28 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.09577, allocations: 0 / 456.4 MB, free: 28 kB / 298.7 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.003328/0.0991, allocations: 1.333 MB / 457.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.09915, allocations: 11.97 kB / 457.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.09952, allocations: 108 kB / 457.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.1004, allocations: 0.5246 MB / 458.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.1005, allocations: 45.38 kB / 458.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1006, allocations: 68.03 kB / 458.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.1015, allocations: 482 kB / 459 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1015, allocations: 0 / 459 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.1016, allocations: 24 kB / 459 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1016, allocations: 12 kB / 459 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1026, allocations: 491.7 kB / 459.5 MB, free: 12.86 MB / 314.7 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.005048/0.1077, allocations: 2.848 MB / 462.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.1089, allocations: 0.7702 MB / 463.1 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.1093, allocations: 238.5 kB / 463.3 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.1094, allocations: 12.5 kB / 463.3 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1094, allocations: 39.12 kB / 463.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.1094, allocations: 0 / 463.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.005056/0.1145, allocations: 2.035 MB / 465.4 MB, free: 6.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1145, allocations: 59.97 kB / 465.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.1151, allocations: 0.4987 MB / 466 MB, free: 5.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.1151, allocations: 41.7 kB / 466 MB, free: 5.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1153, allocations: 261.2 kB / 466.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.1155, allocations: 220.7 kB / 466.5 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.1157, allocations: 186.5 kB / 466.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1159, allocations: 374.8 kB / 467 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.1164, allocations: 317.8 kB / 467.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.117, allocations: 397.4 kB / 467.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.118, allocations: 0.6396 MB / 468.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.118, allocations: 0 / 468.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00308/0.1211, allocations: 1.279 MB / 469.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1211, allocations: 4 kB / 469.6 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1211, allocations: 0 / 469.6 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/0.1237, allocations: 0.6221 MB / 470.3 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.1246, allocations: 219.7 kB / 470.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.1356, allocations: 10.6 MB / 481.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.1363, allocations: 43.83 kB / 481.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.1364, allocations: 31.94 kB / 481.2 MB, free: 5.664 MB / 330.7 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 (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.1367, allocations: 205.5 kB / 481.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1368, allocations: 71.22 kB / 481.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.1384, allocations: 0.7752 MB / 482.2 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1384, allocations: 4 kB / 482.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1385, allocations: 7.984 kB / 482.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1385, allocations: 0 / 482.2 MB, free: 4.582 MB / 330.7 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.002362/0.1408, allocations: 1.552 MB / 483.8 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.1409, allocations: 0 / 483.8 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.1415, allocations: 139.8 kB / 483.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008938/0.1424, allocations: 242.8 kB / 484.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.1425, allocations: 12 kB / 484.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.1458, allocations: 2.385 MB / 486.5 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1458, allocations: 3.984 kB / 486.5 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1843/0.3301, allocations: 8.092 MB / 494.6 MB, free: 45.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.3304, allocations: 182.3 kB / 494.8 MB, free: 44.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.3305, allocations: 16.19 kB / 494.8 MB, free: 44.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.3309, allocations: 25.08 kB / 494.8 MB, free: 44.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.3311, allocations: 47.22 kB / 494.9 MB, free: 44.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3311, allocations: 15.02 kB / 494.9 MB, free: 44.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003763/0.3315, allocations: 337.6 kB / 495.2 MB, free: 44.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3315, allocations: 0 / 495.2 MB, free: 44.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001067/0.3326, allocations: 348.5 kB / 495.6 MB, free: 44.73 MB / 330.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.3328, allocations: 149.8 kB / 495.7 MB, free: 44.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.3354, allocations: 1.678 MB / 497.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3354, allocations: 0 / 497.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.3363, allocations: 0.5225 MB / 497.9 MB, free: 43.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3369, allocations: 88.81 kB / 498 MB, free: 43.21 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.34, allocations: 2.273 MB / 0.4886 GB, free: 41.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3404, allocations: 0.9185 MB / 0.4895 GB, free: 41.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.3407, allocations: 77.33 kB / 0.4895 GB, free: 41.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.3408, allocations: 44.44 kB / 0.4896 GB, free: 41.06 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3409, allocations: 0 / 0.4896 GB, free: 41.06 MB / 330.7 MB Notification: Performance of Templates: time 0.01801/0.3589, allocations: 12.52 MB / 0.5018 GB, free: 34.66 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1)