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.001107/0.001107, allocations: 87.88 kB / 16.31 MB, free: 6.453 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.001313/0.001313, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.383/1.383, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3142/0.3142, allocations: 38.05 MB / 309.7 MB, free: 8.855 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.000517/0.000517, allocations: 12 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.09955, allocations: 56.34 MB / 432.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007007/0.1066, allocations: 6.949 MB / 439.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1107, allocations: 2.378 MB / 442.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.1111, allocations: 43.69 kB / 442.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.1117, allocations: 170.7 kB / 442.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.113, allocations: 0.56 MB / 443 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.1139, allocations: 351.4 kB / 443.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1155, allocations: 1.473 MB / 444.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.1168, allocations: 0.8401 MB / 445.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.1175, allocations: 446.1 kB / 446 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009125/0.1184, allocations: 0.6584 MB / 446.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.196e-05/0.1185, allocations: 44 kB / 446.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000832/0.1194, allocations: 475.2 kB / 447.2 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.1198, allocations: 415 kB / 447.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.12, allocations: 193.2 kB / 447.8 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.121, allocations: 1.111 MB / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.121, allocations: 0 / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.121, allocations: 0 / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.121, allocations: 7.938 kB / 448.9 MB, free: 6.535 MB / 382.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.002369/0.1234, allocations: 1.2 MB / 450.1 MB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1235, allocations: 8.031 kB / 450.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007023/0.1242, allocations: 150.7 kB / 450.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1253, allocations: 0.6349 MB / 450.9 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.1255, allocations: 187 kB / 451.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.1257, allocations: 91.91 kB / 451.2 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.1278, allocations: 1.378 MB / 452.6 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1278, allocations: 0 / 452.6 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.1279, allocations: 39.98 kB / 452.6 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.1281, allocations: 65.91 kB / 452.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.1304, allocations: 1.339 MB / 454 MB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1795/0.3099, allocations: 4.958 MB / 459 MB, free: 48.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.3117, allocations: 1.208 MB / 460.2 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009014/0.3126, allocations: 0.6494 MB / 460.8 MB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.3126, allocations: 16.91 kB / 460.8 MB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3127, allocations: 42.19 kB / 460.9 MB, free: 48.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.3127, allocations: 0 / 460.9 MB, free: 48.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004897/0.3176, allocations: 3.295 MB / 464.2 MB, free: 47.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3176, allocations: 87.05 kB / 464.3 MB, free: 47.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.3181, allocations: 462.8 kB / 464.7 MB, free: 47.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3181, allocations: 38.92 kB / 464.7 MB, free: 47.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3183, allocations: 396.4 kB / 465.1 MB, free: 47.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3184, allocations: 264.7 kB / 465.4 MB, free: 47.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3185, allocations: 14.75 kB / 465.4 MB, free: 47.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.3186, allocations: 374 kB / 465.8 MB, free: 47.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/0.3193, allocations: 0.5154 MB / 466.3 MB, free: 46.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.3201, allocations: 0.7054 MB / 467 MB, free: 46.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.3209, allocations: 0.586 MB / 467.6 MB, free: 46.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.321, allocations: 0 / 467.6 MB, free: 46.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003576/0.3245, allocations: 2.13 MB / 469.7 MB, free: 45.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3246, allocations: 9.688 kB / 469.7 MB, free: 45.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003169/0.3277, allocations: 1.856 MB / 471.6 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.3293, allocations: 0.6964 MB / 472.3 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.3298, allocations: 162.9 kB / 472.4 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/0.3385, allocations: 7.069 MB / 479.5 MB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.3393, allocations: 90.5 kB / 479.6 MB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.3394, allocations: 30.16 kB / 479.6 MB, free: 40.73 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.3398, allocations: 309 kB / 479.9 MB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.34, allocations: 60.59 kB / 480 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.342, allocations: 1.352 MB / 481.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.342, allocations: 18.56 kB / 481.4 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.342, allocations: 0 / 481.4 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.342, allocations: 3.469 kB / 481.4 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.3452, allocations: 2.466 MB / 483.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3452, allocations: 0 / 483.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/0.3475, allocations: 0.6357 MB / 484.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.486e-05/0.3476, allocations: 39.64 kB / 484.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.3477, allocations: 22.55 kB / 484.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/0.3484, allocations: 1.458 MB / 486 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3484, allocations: 6.938 kB / 486 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.3513, allocations: 2.082 MB / 488.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3514, allocations: 127.1 kB / 488.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.3515, allocations: 21.16 kB / 488.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.352, allocations: 73.5 kB / 488.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.3521, allocations: 65.72 kB / 488.3 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.3522, allocations: 25.2 kB / 488.4 MB, free: 36.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.3525, allocations: 316.8 kB / 488.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3525, allocations: 0 / 488.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3538, allocations: 229.7 kB / 488.9 MB, free: 36.07 MB / 382.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 (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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003109/0.3541, allocations: 128.8 kB / 489 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.3571, allocations: 1.595 MB / 490.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3571, allocations: 1.062 kB / 490.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.3596, allocations: 1.156 MB / 491.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.3604, allocations: 154.9 kB / 491.9 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.3643, allocations: 2.716 MB / 494.6 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.3649, allocations: 1.077 MB / 495.7 MB, free: 32.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006116/0.3655, allocations: 214.4 kB / 495.9 MB, free: 32.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3658, allocations: 51.31 kB / 496 MB, free: 32.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3658, allocations: 0 / 496 MB, free: 32.62 MB / 382.1 MB Notification: Performance of Templates: time 0.02373/0.3895, allocations: 12.15 MB / 0.4962 GB, free: 30.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: