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.001414/0.001414, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001453/0.001453, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1891/0.1891, allocations: 37.99 MB / 309.9 MB, free: 5.938 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.001668/0.001669, allocations: 71.02 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1058, allocations: 55.24 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009253/0.1151, allocations: 6.765 MB / 494.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.1194, allocations: 2.178 MB / 496.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.1202, allocations: 27.81 kB / 496.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.122, allocations: 0.5137 MB / 497.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.1238, allocations: 0.5561 MB / 497.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.125, allocations: 375.2 kB / 498.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.1268, allocations: 1.302 MB / 499.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.128, allocations: 0.7401 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1292, allocations: 0.5488 MB / 0.489 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.1306, allocations: 0.6933 MB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.131, allocations: 104 kB / 0.4898 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1322, allocations: 0.511 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.1329, allocations: 478.9 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009825/0.1339, allocations: 0.5056 MB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1362, allocations: 1.468 MB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1362, allocations: 4 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1362, allocations: 0 / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.779e-05/0.1363, allocations: 4 kB / 0.4927 GB, free: 7.496 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.003849/0.1401, allocations: 1.344 MB / 0.494 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1402, allocations: 11.89 kB / 0.494 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/0.1412, allocations: 143.8 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1427, allocations: 0.6866 MB / 0.4948 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.143, allocations: 171.6 kB / 0.495 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1433, allocations: 103.8 kB / 0.4951 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.1459, allocations: 1.362 MB / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.146, allocations: 4 kB / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1461, allocations: 32 kB / 0.4965 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.1463, allocations: 61.97 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.1489, allocations: 1.292 MB / 0.4978 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008002/0.1569, allocations: 4.892 MB / 0.5026 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.1593, allocations: 1.141 MB / 0.5037 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.1605, allocations: 0.6203 MB / 0.5043 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.72e-05/0.1606, allocations: 8.562 kB / 0.5043 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1607, allocations: 47.06 kB / 0.5043 GB, free: 11.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.1607, allocations: 0 / 0.5043 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.006516/0.1672, allocations: 3.186 MB / 0.5075 GB, free: 7.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1673, allocations: 85.61 kB / 0.5075 GB, free: 7.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.1679, allocations: 461.9 kB / 0.508 GB, free: 7.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.168, allocations: 41.7 kB / 0.508 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.1682, allocations: 391.3 kB / 0.5084 GB, free: 6.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.1685, allocations: 260.3 kB / 0.5086 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.1688, allocations: 146.6 kB / 0.5088 GB, free: 6.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.169, allocations: 374.8 kB / 0.5091 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/0.1699, allocations: 0.4977 MB / 0.5096 GB, free: 5.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.171, allocations: 0.6833 MB / 0.5103 GB, free: 4.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.173, allocations: 1.216 MB / 0.5115 GB, free: 3.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.173, allocations: 3.938 kB / 0.5115 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00456/0.1776, allocations: 1.982 MB / 0.5134 GB, free: 1.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.1777, allocations: 8 kB / 0.5134 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003937/0.1816, allocations: 1.718 MB / 0.5151 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.1835, allocations: 0.6572 MB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.1842, allocations: 151.8 kB / 0.5159 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.1963, allocations: 7.41 MB / 0.5231 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.1972, allocations: 71.91 kB / 0.5232 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.1974, allocations: 31.98 kB / 0.5232 GB, free: 7.203 MB / 414.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.000667/0.1981, allocations: 317.6 kB / 0.5235 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.1983, allocations: 59.25 kB / 0.5236 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.2008, allocations: 1.301 MB / 0.5248 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.2009, allocations: 16.08 kB / 0.5249 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2009, allocations: 3.938 kB / 0.5249 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2009, allocations: 7.984 kB / 0.5249 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.2052, allocations: 2.405 MB / 0.5272 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.2052, allocations: 7.938 kB / 0.5272 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/0.2079, allocations: 0.4915 MB / 0.5277 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.208, allocations: 32.84 kB / 0.5277 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.2081, allocations: 19.98 kB / 0.5278 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.2094, allocations: 1.626 MB / 0.5294 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2094, allocations: 0 / 0.5294 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2566/0.4661, allocations: 2.007 MB / 0.5313 GB, free: 51.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.4664, allocations: 133.9 kB / 0.5314 GB, free: 51.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.4666, allocations: 17.05 kB / 0.5315 GB, free: 51.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.4672, allocations: 57.44 kB / 0.5315 GB, free: 51.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.4675, allocations: 67 kB / 0.5316 GB, free: 51.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.4676, allocations: 20.92 kB / 0.5316 GB, free: 51.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000467/0.468, allocations: 320.1 kB / 0.5319 GB, free: 51.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4681, allocations: 1.438 kB / 0.5319 GB, free: 51.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4692, allocations: 233.3 kB / 0.5321 GB, free: 51.25 MB / 414.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.0002884/0.4695, allocations: 128.2 kB / 0.5322 GB, free: 51.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.4728, allocations: 1.568 MB / 0.5338 GB, free: 50.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4728, allocations: 0 / 0.5338 GB, free: 50.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002886/0.4757, allocations: 0.9867 MB / 0.5347 GB, free: 50.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4768, allocations: 160.3 kB / 0.5349 GB, free: 50.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.4817, allocations: 2.339 MB / 0.5372 GB, free: 49.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.4826, allocations: 1.065 MB / 0.5382 GB, free: 48.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.483, allocations: 60.61 kB / 0.5383 GB, free: 48.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.483, allocations: 0.9375 kB / 0.5383 GB, free: 48.9 MB / 414.1 MB Notification: Performance of Templates: time 0.03063/0.5137, allocations: 20.3 MB / 0.5581 GB, free: 39.33 MB / 414.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)