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.001041/0.001041, allocations: 103.1 kB / 17.06 MB, free: 6.129 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.0009551/0.0009551, allocations: 195 kB / 18 MB, free: 5.203 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.278/1.278, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1607/0.1607, allocations: 37.99 MB / 309.2 MB, free: 5.957 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.001292/0.001292, allocations: 75.89 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09991, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00767/0.1076, allocations: 6.769 MB / 493.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.1115, allocations: 2.189 MB / 496.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.1119, allocations: 23.88 kB / 496.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1133, allocations: 0.5215 MB / 496.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.1146, allocations: 0.5483 MB / 497.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.1155, allocations: 363.3 kB / 497.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.117, allocations: 1.31 MB / 498.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.118, allocations: 0.7362 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.1191, allocations: 0.5527 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.1203, allocations: 0.6855 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.1206, allocations: 103.9 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1218, allocations: 0.5188 MB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.1222, allocations: 466.9 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.1227, allocations: 0.5211 MB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1241, allocations: 1.461 MB / 0.4921 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1241, allocations: 3.984 kB / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1241, allocations: 0 / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.1241, allocations: 0 / 0.4921 GB, free: 7.516 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.002587/0.1267, allocations: 1.344 MB / 0.4934 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1268, allocations: 15.89 kB / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.1275, allocations: 139.7 kB / 0.4935 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1286, allocations: 0.6866 MB / 0.4942 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.1289, allocations: 179.6 kB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.1291, allocations: 99.78 kB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.1312, allocations: 1.362 MB / 0.4958 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.1312, allocations: 0 / 0.4958 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.1313, allocations: 36 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.1315, allocations: 61.97 kB / 0.4959 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.1337, allocations: 1.296 MB / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006459/0.1402, allocations: 4.9 MB / 0.5019 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.1423, allocations: 1.133 MB / 0.503 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.1434, allocations: 0.6204 MB / 0.5036 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.838e-05/0.1435, allocations: 12.48 kB / 0.5037 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1435, allocations: 39.12 kB / 0.5037 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.1435, allocations: 0 / 0.5037 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.005543/0.1491, allocations: 3.178 MB / 0.5068 GB, free: 7.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1492, allocations: 89.61 kB / 0.5069 GB, free: 7.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.1496, allocations: 465.9 kB / 0.5073 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.1497, allocations: 37.7 kB / 0.5074 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.1499, allocations: 399.3 kB / 0.5077 GB, free: 6.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.1501, allocations: 252.3 kB / 0.508 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.1504, allocations: 150.6 kB / 0.5081 GB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1505, allocations: 374.8 kB / 0.5085 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.1514, allocations: 0.4977 MB / 0.509 GB, free: 5.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.1524, allocations: 0.6872 MB / 0.5096 GB, free: 4.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.1542, allocations: 1.209 MB / 0.5108 GB, free: 3.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.1543, allocations: 11.94 kB / 0.5108 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004182/0.1585, allocations: 1.971 MB / 0.5128 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1585, allocations: 8 kB / 0.5128 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003645/0.1621, allocations: 1.721 MB / 0.5144 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.1639, allocations: 0.6494 MB / 0.5151 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.1645, allocations: 151.8 kB / 0.5152 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.1755, allocations: 7.414 MB / 0.5225 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.1763, allocations: 71.91 kB / 0.5225 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.1764, allocations: 35.98 kB / 0.5226 GB, free: 7.223 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.0004567/0.1768, allocations: 313.6 kB / 0.5229 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.177, allocations: 63.25 kB / 0.5229 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.1792, allocations: 1.301 MB / 0.5242 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.1792, allocations: 19.98 kB / 0.5242 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1792, allocations: 0 / 0.5242 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1793, allocations: 3.984 kB / 0.5242 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.1829, allocations: 2.402 MB / 0.5266 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.183, allocations: 7.922 kB / 0.5266 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/0.1856, allocations: 0.4916 MB / 0.5271 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.1857, allocations: 36.78 kB / 0.5271 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.1858, allocations: 19.98 kB / 0.5271 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.1869, allocations: 1.63 MB / 0.5287 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1869, allocations: 0 / 0.5287 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2069/0.3939, allocations: 2.007 MB / 0.5307 GB, free: 51.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.394, allocations: 132.7 kB / 0.5308 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/0.3941, allocations: 18.03 kB / 0.5308 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.3946, allocations: 57.12 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3948, allocations: 66.33 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.3949, allocations: 25.53 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.3952, allocations: 318.6 kB / 0.5312 GB, free: 51.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3952, allocations: 0 / 0.5312 GB, free: 51.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.3961, allocations: 234.5 kB / 0.5315 GB, free: 51.2 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.0001945/0.3963, allocations: 125 kB / 0.5316 GB, free: 51.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.3988, allocations: 1.566 MB / 0.5331 GB, free: 50.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3988, allocations: 5.125 kB / 0.5331 GB, free: 50.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.4013, allocations: 1 MB / 0.5341 GB, free: 50.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.4021, allocations: 161.9 kB / 0.5343 GB, free: 50.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.4055, allocations: 2.262 MB / 0.5365 GB, free: 49.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.4061, allocations: 1.07 MB / 0.5375 GB, free: 48.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004998/0.4066, allocations: 212.3 kB / 0.5377 GB, free: 48.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.4068, allocations: 55.77 kB / 0.5378 GB, free: 48.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4068, allocations: 0 / 0.5378 GB, free: 48.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01996/0.4268, allocations: 13.89 MB / 0.5513 GB, free: 44.51 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)