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.001413/0.001413, allocations: 111.8 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.001757/0.001757, allocations: 190.9 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.632/1.632, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.184/0.184, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001805/0.001805, allocations: 67.89 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 55.25 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007411/0.2972, allocations: 6.762 MB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.3015, allocations: 2.189 MB / 441 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.3022, allocations: 31.81 kB / 441 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.3038, allocations: 0.5132 MB / 441.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.3049, allocations: 0.5482 MB / 442.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.3059, allocations: 375.3 kB / 442.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.3073, allocations: 1.302 MB / 443.7 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.308, allocations: 0.7324 MB / 444.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.3086, allocations: 0.545 MB / 445 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.3094, allocations: 0.6971 MB / 445.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3095, allocations: 100 kB / 445.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.3103, allocations: 0.511 MB / 446.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.3107, allocations: 467 kB / 446.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.3111, allocations: 0.5055 MB / 447.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3124, allocations: 1.476 MB / 448.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3125, allocations: 0 / 448.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3125, allocations: 0 / 448.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3125, allocations: 0 / 448.8 MB, free: 2.688 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.002487/0.315, allocations: 1.336 MB / 450.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.3151, allocations: 15.89 kB / 450.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.3158, allocations: 143.8 kB / 450.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.317, allocations: 0.6865 MB / 450.9 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3172, allocations: 183.6 kB / 451.1 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.3174, allocations: 87.92 kB / 451.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3196, allocations: 1.366 MB / 452.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3196, allocations: 7.875 kB / 452.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.3197, allocations: 32 kB / 452.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.3199, allocations: 65.91 kB / 452.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.3221, allocations: 1.292 MB / 454 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008065/0.3302, allocations: 4.904 MB / 458.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.3324, allocations: 1.137 MB / 460 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3335, allocations: 0.6279 MB / 460.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.3336, allocations: 12.55 kB / 460.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3337, allocations: 35.12 kB / 460.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.797e-06/0.3337, allocations: 0 / 460.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006305/0.34, allocations: 3.175 MB / 463.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.3401, allocations: 89.61 kB / 463.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.3407, allocations: 465.9 kB / 464.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.3408, allocations: 41.7 kB / 464.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.3411, allocations: 395.3 kB / 464.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.3414, allocations: 252.3 kB / 465.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.3417, allocations: 154.5 kB / 465.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3419, allocations: 370.8 kB / 465.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009133/0.3428, allocations: 0.4938 MB / 466.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.3439, allocations: 0.6795 MB / 466.8 MB, free: 76 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.346, allocations: 1.224 MB / 468 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3461, allocations: 7.875 kB / 468 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004465/0.3505, allocations: 1.974 MB / 470 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3506, allocations: 8.531 kB / 470 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003736/0.3543, allocations: 1.71 MB / 471.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.3562, allocations: 0.665 MB / 472.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.3568, allocations: 147.8 kB / 472.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.3686, allocations: 7.414 MB / 479.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.3694, allocations: 75.91 kB / 480 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.3696, allocations: 32 kB / 480 MB, free: 2.391 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.000626/0.3702, allocations: 317.5 kB / 480.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.3704, allocations: 63.31 kB / 480.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.3729, allocations: 1.289 MB / 481.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.373, allocations: 19.94 kB / 481.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.373, allocations: 0 / 481.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.373, allocations: 3.984 kB / 481.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.3774, allocations: 2.409 MB / 484.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3774, allocations: 3.938 kB / 484.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/0.3799, allocations: 0.4916 MB / 484.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.38, allocations: 32.83 kB / 484.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.3801, allocations: 20 kB / 484.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.3813, allocations: 1.622 MB / 486.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3813, allocations: 4.031 kB / 486.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.3845, allocations: 2.017 MB / 488.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.3847, allocations: 132.3 kB / 488.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3848, allocations: 16 kB / 488.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.3853, allocations: 55.92 kB / 488.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3855, allocations: 68.41 kB / 488.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.3856, allocations: 19.98 kB / 488.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004012/0.386, allocations: 326.8 kB / 488.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.386, allocations: 0 / 488.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001077/0.3871, allocations: 232 kB / 489.1 MB, free: 8.938 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.0002816/0.3874, allocations: 134.8 kB / 489.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.3903, allocations: 1.567 MB / 490.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3903, allocations: 0 / 490.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.3929, allocations: 1.002 MB / 491.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.3938, allocations: 161.8 kB / 492 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.398, allocations: 2.264 MB / 494.2 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.3989, allocations: 1.079 MB / 495.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005952/0.3995, allocations: 209.5 kB / 495.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.3997, allocations: 55.42 kB / 495.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3997, allocations: 0 / 495.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of Templates: time 0.02533/0.425, allocations: 13.43 MB / 0.4971 GB, free: 4.945 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)