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.0009207/0.0009203, allocations: 92.03 kB / 16.65 MB, free: 6.328 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.0009487/0.0009488, allocations: 179.2 kB / 17.57 MB, free: 5.93 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.565/1.565, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2012/0.2012, allocations: 38.06 MB / 310.1 MB, free: 5.91 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.0005675/0.0005675, allocations: 19.12 kB / 377.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.305, allocations: 56.32 MB / 433.5 MB, free: 18.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00671/0.3117, allocations: 7.357 MB / 440.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.3161, allocations: 2.502 MB / 443.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.3171, allocations: 43.69 kB / 443.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.3179, allocations: 151 kB / 443.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.3198, allocations: 0.5058 MB / 444 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3209, allocations: 323.5 kB / 444.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3226, allocations: 1.836 MB / 446.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.3239, allocations: 0.9587 MB / 447.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.3245, allocations: 438.1 kB / 447.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.3257, allocations: 0.662 MB / 448.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.901e-05/0.3258, allocations: 48 kB / 448.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.3267, allocations: 0.503 MB / 448.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.327, allocations: 410.9 kB / 449.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004756/0.3275, allocations: 483.4 kB / 449.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.3285, allocations: 1.378 MB / 451 MB, free: 1.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3285, allocations: 4 kB / 451.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3285, allocations: 4 kB / 451.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.3285, allocations: 0 / 451.1 MB, free: 1.109 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.002231/0.3308, allocations: 1.188 MB / 452.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.3308, allocations: 12.03 kB / 452.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.3317, allocations: 151.6 kB / 452.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.3329, allocations: 0.6476 MB / 453.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.3332, allocations: 183.6 kB / 453.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.3335, allocations: 99.86 kB / 453.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.3357, allocations: 1.378 MB / 454.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3358, allocations: 8 kB / 454.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.3359, allocations: 32 kB / 454.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3361, allocations: 61.97 kB / 454.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.3385, allocations: 1.343 MB / 456.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/0.3455, allocations: 4.982 MB / 461.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.3478, allocations: 1.211 MB / 462.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.3489, allocations: 0.6591 MB / 463 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.349, allocations: 16.48 kB / 463 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.349, allocations: 39.12 kB / 463.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.267e-06/0.3491, allocations: 0 / 463.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006059/0.3551, allocations: 3.303 MB / 466.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.3552, allocations: 89.7 kB / 466.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.3558, allocations: 461.9 kB / 466.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.3558, allocations: 33.7 kB / 466.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.3561, allocations: 399.3 kB / 467.3 MB, free: 320 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3563, allocations: 260.2 kB / 467.6 MB, free: 56 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3565, allocations: 69.69 kB / 467.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3566, allocations: 374.8 kB / 468 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.3576, allocations: 0.5251 MB / 468.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3587, allocations: 0.7106 MB / 469.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.3608, allocations: 1.263 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.3608, allocations: 7.922 kB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004672/0.3655, allocations: 2.134 MB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3655, allocations: 8 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004102/0.3696, allocations: 1.867 MB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.3719, allocations: 0.7085 MB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.3726, allocations: 151.8 kB / 475.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.3852, allocations: 7.064 MB / 482.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3862, allocations: 88 kB / 482.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.3865, allocations: 35.98 kB / 482.6 MB, free: 0.5625 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.0008811/0.3874, allocations: 313.4 kB / 482.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.3877, allocations: 67.19 kB / 482.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.3907, allocations: 1.356 MB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.3908, allocations: 16 kB / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3908, allocations: 0 / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3908, allocations: 7.922 kB / 484.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.3952, allocations: 2.457 MB / 486.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.3953, allocations: 0 / 486.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/0.3981, allocations: 0.64 MB / 487.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.3983, allocations: 36.92 kB / 487.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.3985, allocations: 20 kB / 487.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.4002, allocations: 1.463 MB / 488.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4003, allocations: 0 / 488.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.4043, allocations: 2.082 MB / 491 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.4046, allocations: 132.3 kB / 491.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4047, allocations: 27.94 kB / 491.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.4054, allocations: 67.92 kB / 491.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.4056, allocations: 72.33 kB / 491.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.4056, allocations: 24 kB / 491.3 MB, free: 7.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.4061, allocations: 318.9 kB / 491.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4061, allocations: 0 / 491.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4072, allocations: 232.1 kB / 491.9 MB, free: 6.922 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.0002776/0.4075, allocations: 131 kB / 492 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.4105, allocations: 1.602 MB / 493.6 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4106, allocations: 0 / 493.6 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002977/0.4135, allocations: 1.154 MB / 494.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4146, allocations: 150 kB / 494.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.4197, allocations: 2.777 MB / 497.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4208, allocations: 1.063 MB / 498.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007385/0.4216, allocations: 217.5 kB / 499 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.4219, allocations: 59.42 kB / 499 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4219, allocations: 0 / 499 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02314/0.445, allocations: 12.46 MB / 0.4995 GB, free: 3.23 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: