Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001518/0.001518, allocations: 192 kB / 18.62 MB, free: 4.434 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.431/1.431, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1808/0.1808, allocations: 37.98 MB / 309.8 MB, free: 5.969 MB / 254.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.001505/0.001505, allocations: 67.91 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2652, allocations: 55.24 MB / 432 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006043/0.2712, allocations: 6.759 MB / 438.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.274, allocations: 2.193 MB / 441 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.2743, allocations: 27.81 kB / 441 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2755, allocations: 0.5171 MB / 441.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008036/0.2763, allocations: 0.5483 MB / 442.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.2769, allocations: 379.2 kB / 442.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008316/0.2777, allocations: 1.302 MB / 443.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.2784, allocations: 0.7363 MB / 444.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.2789, allocations: 0.545 MB / 445 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.2795, allocations: 0.6855 MB / 445.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2796, allocations: 100 kB / 445.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.2802, allocations: 0.5149 MB / 446.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.2805, allocations: 467 kB / 446.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.2809, allocations: 0.5211 MB / 447.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.2818, allocations: 1.464 MB / 448.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2818, allocations: 0 / 448.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2818, allocations: 0 / 448.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.2818, allocations: 0 / 448.8 MB, free: 2.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00221/0.2841, allocations: 1.338 MB / 450.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2841, allocations: 15.89 kB / 450.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.2848, allocations: 147.7 kB / 450.3 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2859, allocations: 0.6866 MB / 450.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.2861, allocations: 175.6 kB / 451.1 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.2863, allocations: 87.94 kB / 451.2 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.2883, allocations: 1.366 MB / 452.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.2884, allocations: 3.938 kB / 452.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/0.2884, allocations: 35.98 kB / 452.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.2886, allocations: 61.97 kB / 452.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.2909, allocations: 1.292 MB / 454 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006866/0.2977, allocations: 4.911 MB / 458.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.2999, allocations: 1.137 MB / 460 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3009, allocations: 0.6279 MB / 460.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.301, allocations: 8.547 kB / 460.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.301, allocations: 39.12 kB / 460.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.564e-06/0.301, allocations: 0 / 460.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005547/0.3066, allocations: 3.175 MB / 463.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3067, allocations: 89.7 kB / 463.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.3072, allocations: 465.9 kB / 464.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.3072, allocations: 37.7 kB / 464.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.3075, allocations: 395.3 kB / 464.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.3077, allocations: 260.3 kB / 465.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.308, allocations: 146.6 kB / 465.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3081, allocations: 370.8 kB / 465.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/0.309, allocations: 0.4977 MB / 466.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/0.31, allocations: 0.6872 MB / 466.8 MB, free: 224 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.3119, allocations: 1.209 MB / 468 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3119, allocations: 7.875 kB / 468 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004271/0.3162, allocations: 1.982 MB / 470 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.3163, allocations: 8 kB / 470 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003728/0.32, allocations: 1.714 MB / 471.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.3218, allocations: 0.6572 MB / 472.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.3224, allocations: 151.7 kB / 472.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.3338, allocations: 7.42 MB / 479.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.3347, allocations: 75.91 kB / 480 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.3348, allocations: 35.98 kB / 480 MB, free: 2.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.3354, allocations: 317.7 kB / 480.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3355, allocations: 59.25 kB / 480.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.3379, allocations: 1.293 MB / 481.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.3379, allocations: 12 kB / 481.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3379, allocations: 0 / 481.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3379, allocations: 3.984 kB / 481.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/0.342, allocations: 2.41 MB / 484.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.342, allocations: 0 / 484.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/0.3445, allocations: 0.4994 MB / 484.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.3446, allocations: 28.84 kB / 484.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.3447, allocations: 23.97 kB / 484.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.346, allocations: 1.622 MB / 486.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3461, allocations: 7.969 kB / 486.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.3492, allocations: 2.017 MB / 488.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3494, allocations: 128.4 kB / 488.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/0.3495, allocations: 12 kB / 488.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.35, allocations: 63.91 kB / 488.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.3502, allocations: 64.47 kB / 488.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.3503, allocations: 20 kB / 488.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003985/0.3507, allocations: 318.9 kB / 488.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3507, allocations: 0 / 488.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009493/0.3516, allocations: 231.9 kB / 489.1 MB, free: 9.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.3519, allocations: 139.1 kB / 489.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.3548, allocations: 1.571 MB / 490.8 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3548, allocations: 4.438 kB / 490.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.3574, allocations: 0.9935 MB / 491.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.3582, allocations: 165.3 kB / 492 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.3624, allocations: 2.264 MB / 494.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.3632, allocations: 1.075 MB / 495.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.3638, allocations: 205.5 kB / 495.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.364, allocations: 59.42 kB / 495.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.364, allocations: 3.938 kB / 495.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Templates: time 0.02076/0.3848, allocations: 13.43 MB / 0.4971 GB, free: 5.086 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)