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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001202/0.001202, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.247/1.247, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 121.7 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1717/0.1717, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07696/0.07826, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006512/0.08481, allocations: 7.813 MB / 461.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.08796, allocations: 2.529 MB / 464.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.08839, allocations: 47.69 kB / 464.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.08954, allocations: 486.1 kB / 464.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.09057, allocations: 0.5097 MB / 465.4 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.09152, allocations: 331.4 kB / 465.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.09328, allocations: 1.859 MB / 467.5 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.09404, allocations: 0.6463 MB / 468.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.09461, allocations: 478.1 kB / 468.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.0954, allocations: 0.7049 MB / 469.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.09552, allocations: 60 kB / 469.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.09631, allocations: 0.5187 MB / 469.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.09659, allocations: 434.8 kB / 470.4 MB, free: 124 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.09706, allocations: 481.7 kB / 470.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.09833, allocations: 1.414 MB / 472.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.09835, allocations: 0 / 472.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09836, allocations: 0 / 472.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.09838, allocations: 0 / 472.2 MB, free: 14.23 MB / 330.7 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.002645/0.101, allocations: 1.34 MB / 473.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1011, allocations: 12.03 kB / 473.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.1018, allocations: 155.7 kB / 473.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.103, allocations: 0.6436 MB / 474.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.1033, allocations: 179.4 kB / 474.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.1035, allocations: 99.89 kB / 474.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.1055, allocations: 1.358 MB / 476 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.1055, allocations: 3.938 kB / 476 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.1056, allocations: 39.98 kB / 476.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.1058, allocations: 61.97 kB / 476.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.108, allocations: 1.296 MB / 477.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006452/0.1144, allocations: 4.919 MB / 482.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.1165, allocations: 1.129 MB / 483.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.1175, allocations: 0.6165 MB / 484.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.1176, allocations: 8.562 kB / 484.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1177, allocations: 39.12 kB / 484.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 4.779e-06/0.1177, allocations: 4 kB / 484.1 MB, free: 1.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.005401/0.1231, allocations: 3.186 MB / 487.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1231, allocations: 93.55 kB / 487.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.1236, allocations: 465.9 kB / 487.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.1237, allocations: 33.7 kB / 487.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.1239, allocations: 403.3 kB / 488.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1241, allocations: 252.3 kB / 488.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.1243, allocations: 142.6 kB / 488.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1245, allocations: 382.8 kB / 489.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.1253, allocations: 497.7 kB / 489.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/0.1263, allocations: 0.6879 MB / 490.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.1281, allocations: 1.224 MB / 491.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1281, allocations: 4 kB / 491.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004049/0.1322, allocations: 1.974 MB / 493.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1322, allocations: 11.94 kB / 493.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003535/0.1358, allocations: 1.711 MB / 495.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.1375, allocations: 0.6533 MB / 495.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.1381, allocations: 151.8 kB / 496 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.1483, allocations: 6.767 MB / 0.4909 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.1492, allocations: 76 kB / 0.491 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.1493, allocations: 28 kB / 0.491 GB, free: 14.61 MB / 362.7 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.0004989/0.1498, allocations: 313.5 kB / 0.4913 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.1499, allocations: 59.25 kB / 0.4914 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.1522, allocations: 1.293 MB / 0.4927 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.1522, allocations: 15.98 kB / 0.4927 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1522, allocations: 7.938 kB / 0.4927 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1522, allocations: 3.984 kB / 0.4927 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.156, allocations: 2.414 MB / 0.495 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.156, allocations: 4 kB / 0.4951 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.1586, allocations: 499.4 kB / 0.4955 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1587, allocations: 36.84 kB / 0.4956 GB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.1588, allocations: 15.98 kB / 0.4956 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1599, allocations: 1.47 MB / 0.497 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1599, allocations: 3.984 kB / 0.497 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1944/0.3543, allocations: 11.58 MB / 0.5083 GB, free: 63.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3544, allocations: 133 kB / 0.5084 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.3545, allocations: 15.42 kB / 0.5085 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.3551, allocations: 66.75 kB / 0.5085 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.3553, allocations: 68.84 kB / 0.5086 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.3553, allocations: 17.88 kB / 0.5086 GB, free: 63.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003524/0.3557, allocations: 320.6 kB / 0.5089 GB, free: 63.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3557, allocations: 0 / 0.5089 GB, free: 63.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001056/0.3568, allocations: 309.5 kB / 0.5092 GB, free: 63.39 MB / 362.7 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.0001802/0.357, allocations: 132.9 kB / 0.5093 GB, free: 63.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3596, allocations: 1.548 MB / 0.5108 GB, free: 62.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3596, allocations: 0 / 0.5108 GB, free: 62.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.3623, allocations: 1.003 MB / 0.5118 GB, free: 62.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.3633, allocations: 151.8 kB / 0.512 GB, free: 62.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.3678, allocations: 3.222 MB / 0.5151 GB, free: 60.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.3685, allocations: 1.098 MB / 0.5162 GB, free: 59.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007986/0.3693, allocations: 234.9 kB / 0.5164 GB, free: 59.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3695, allocations: 57.55 kB / 0.5165 GB, free: 59.94 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.3695, allocations: 0 / 0.5165 GB, free: 59.94 MB / 362.7 MB Notification: Performance of Templates: time 0.02108/0.3906, allocations: 15.57 MB / 0.5317 GB, free: 51.17 MB / 362.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)