Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001214/0.001214, 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.359 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.001743/0.001743, allocations: 120 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1643/0.1643, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 401.8 MB, free: 68.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0834/0.08463, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009355/0.09402, allocations: 7.521 MB / 461.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.09844, allocations: 2.443 MB / 464 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.0992, allocations: 43.75 kB / 464 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.1008, allocations: 486 kB / 464.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1023, allocations: 0.5137 MB / 465 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.1032, allocations: 311.5 kB / 465.3 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1051, allocations: 1.871 MB / 467.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.1061, allocations: 0.6268 MB / 467.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.1071, allocations: 482.1 kB / 468.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.1084, allocations: 0.7556 MB / 469 MB, free: 1.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.1087, allocations: 60 kB / 469.1 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1102, allocations: 0.6161 MB / 469.7 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006664/0.1109, allocations: 435 kB / 470.1 MB, free: 384 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.1122, allocations: 493.7 kB / 470.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.1145, allocations: 1.484 MB / 472.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1145, allocations: 0 / 472.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1145, allocations: 0 / 472.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.766e-05/0.1146, allocations: 0 / 472.1 MB, free: 14.4 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005151/0.1198, allocations: 1.371 MB / 473.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1198, allocations: 12.03 kB / 473.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.1208, allocations: 135.8 kB / 473.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.1225, allocations: 0.6569 MB / 474.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.1228, allocations: 183.3 kB / 474.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.1231, allocations: 87.98 kB / 474.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.1261, allocations: 1.406 MB / 475.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1261, allocations: 4 kB / 475.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1262, allocations: 28 kB / 476 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/0.1265, allocations: 81.95 kB / 476 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.1301, allocations: 1.518 MB / 477.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009043/0.1392, allocations: 4.435 MB / 482 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.1422, allocations: 1.2 MB / 483.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.144, allocations: 0.7851 MB / 484 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/0.1441, allocations: 16.62 kB / 484 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.1442, allocations: 39.22 kB / 484 MB, free: 2.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 3.968e-06/0.1442, allocations: 0 / 484 MB, free: 2.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=102): time 0.008932/0.1531, allocations: 3.854 MB / 487.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1532, allocations: 90.14 kB / 488 MB, free: 14.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.1538, allocations: 398 kB / 488.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.1538, allocations: 37.7 kB / 488.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.1541, allocations: 344.2 kB / 488.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.1545, allocations: 358.7 kB / 489.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.1549, allocations: 162.6 kB / 489.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1551, allocations: 374.8 kB / 489.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.1566, allocations: 0.5953 MB / 490.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.1582, allocations: 0.7463 MB / 490.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.1613, allocations: 1.391 MB / 492.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1613, allocations: 0 / 492.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00382/0.1651, allocations: 1.603 MB / 493.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1652, allocations: 8 kB / 493.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.1652, allocations: 7.984 kB / 494 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1654, allocations: 32.84 kB / 494 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.1688, allocations: 0.4994 MB / 494.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007835/0.1767, allocations: 6.188 MB / 0.4889 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.1778, allocations: 79.89 kB / 0.489 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.1779, allocations: 40.02 kB / 0.4891 GB, free: 0.5625 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0006198/0.1785, allocations: 309.6 kB / 0.4894 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.1788, allocations: 75.17 kB / 0.4894 GB, free: 180 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.1826, allocations: 1.596 MB / 0.491 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.1827, allocations: 20 kB / 0.491 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1827, allocations: 4 kB / 0.491 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.1827, allocations: 11.97 kB / 0.491 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.189, allocations: 2.865 MB / 0.4938 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.189, allocations: 4 kB / 0.4938 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/0.1929, allocations: 0.5307 MB / 0.4943 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.1931, allocations: 36.83 kB / 0.4944 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.1932, allocations: 27.92 kB / 0.4944 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.1945, allocations: 1.47 MB / 0.4958 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.1946, allocations: 4.031 kB / 0.4958 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1996/0.3941, allocations: 13.18 MB / 0.5087 GB, free: 63.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3943, allocations: 138.7 kB / 0.5088 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.3945, allocations: 20.97 kB / 0.5089 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.3952, allocations: 77.36 kB / 0.5089 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.3954, allocations: 73.69 kB / 0.509 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.3955, allocations: 23.72 kB / 0.509 GB, free: 63.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3959, allocations: 283.4 kB / 0.5093 GB, free: 62.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3959, allocations: 0 / 0.5093 GB, free: 62.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001434/0.3973, allocations: 322.5 kB / 0.5096 GB, free: 62.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.0003657/0.3977, allocations: 167 kB / 0.5098 GB, free: 62.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004799/0.4025, allocations: 1.822 MB / 0.5115 GB, free: 62.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4026, allocations: 0 / 0.5115 GB, free: 62.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.4062, allocations: 1.197 MB / 0.5127 GB, free: 62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4073, allocations: 154.5 kB / 0.5129 GB, free: 61.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.4128, allocations: 3.693 MB / 0.5165 GB, free: 60.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/0.4136, allocations: 1.109 MB / 0.5176 GB, free: 59.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4147, allocations: 296.7 kB / 0.5178 GB, free: 59.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.415, allocations: 63.75 kB / 0.5179 GB, free: 59.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.415, allocations: 0 / 0.5179 GB, free: 59.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01831/0.4333, allocations: 13.23 MB / 0.5308 GB, free: 51.8 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)