Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.000796, allocations: 98.28 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1701/0.1701, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 56.33 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007005/0.1108, allocations: 6.955 MB / 486 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.1148, allocations: 2.366 MB / 488.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.1153, allocations: 39.75 kB / 488.4 MB, free: 8.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.1159, allocations: 174.7 kB / 488.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1172, allocations: 0.5717 MB / 489.2 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009044/0.1181, allocations: 347.4 kB / 489.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.1196, allocations: 1.473 MB / 491 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.121, allocations: 0.84 MB / 491.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.1218, allocations: 450.1 kB / 492.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009448/0.1227, allocations: 0.6544 MB / 492.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1229, allocations: 48 kB / 493 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.1237, allocations: 475.3 kB / 493.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.1241, allocations: 411 kB / 493.8 MB, free: 3.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1244, allocations: 197.2 kB / 494 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1255, allocations: 1.103 MB / 495.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1255, allocations: 0 / 495.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1255, allocations: 0 / 495.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1256, allocations: 0 / 495.1 MB, free: 1.879 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.002561/0.1281, allocations: 1.204 MB / 496.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1282, allocations: 12.03 kB / 496.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007148/0.1289, allocations: 142.8 kB / 496.5 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.1301, allocations: 0.6465 MB / 497.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.1303, allocations: 179.1 kB / 497.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.1305, allocations: 91.94 kB / 497.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1327, allocations: 1.378 MB / 498.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.1328, allocations: 7.938 kB / 498.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.1329, allocations: 32 kB / 498.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.133, allocations: 61.97 kB / 498.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1355, allocations: 1.343 MB / 0.4885 GB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006979/0.1425, allocations: 4.97 MB / 0.4933 GB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1448, allocations: 1.215 MB / 0.4945 GB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.146, allocations: 0.6553 MB / 0.4952 GB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.146, allocations: 20.48 kB / 0.4952 GB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1461, allocations: 39.12 kB / 0.4952 GB, free: 5.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.857e-06/0.1461, allocations: 0 / 0.4952 GB, free: 5.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.006046/0.1521, allocations: 3.284 MB / 0.4984 GB, free: 2.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.1522, allocations: 85.67 kB / 0.4985 GB, free: 2.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.1527, allocations: 469.8 kB / 0.499 GB, free: 1.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.1528, allocations: 37.69 kB / 0.499 GB, free: 1.504 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.1531, allocations: 391.4 kB / 0.4994 GB, free: 1.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1533, allocations: 268.2 kB / 0.4996 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1533, allocations: 12 kB / 0.4996 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1535, allocations: 382.7 kB / 0.5 GB, free: 464 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009287/0.1544, allocations: 0.5173 MB / 0.5005 GB, free: 15.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.1555, allocations: 0.699 MB / 0.5012 GB, free: 15.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1566, allocations: 0.5886 MB / 0.5018 GB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1566, allocations: 4 kB / 0.5018 GB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004397/0.161, allocations: 2.123 MB / 0.5038 GB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.161, allocations: 4 kB / 0.5038 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003903/0.1649, allocations: 1.863 MB / 0.5057 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.1668, allocations: 0.7041 MB / 0.5064 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.1674, allocations: 155.7 kB / 0.5065 GB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.1781, allocations: 7.072 MB / 0.5134 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.1789, allocations: 92 kB / 0.5135 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.179, allocations: 31.94 kB / 0.5135 GB, free: 2.184 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 (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.000471/0.1794, allocations: 309.5 kB / 0.5138 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1796, allocations: 67.19 kB / 0.5139 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.1819, allocations: 1.344 MB / 0.5152 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.1819, allocations: 16 kB / 0.5152 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.182, allocations: 4 kB / 0.5152 GB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.182, allocations: 3.984 kB / 0.5152 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.19/0.372, allocations: 2.449 MB / 0.5176 GB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3721, allocations: 0 / 0.5176 GB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/0.3749, allocations: 0.6382 MB / 0.5182 GB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.375, allocations: 37.34 kB / 0.5183 GB, free: 52.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.3751, allocations: 20.25 kB / 0.5183 GB, free: 52.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3762, allocations: 1.465 MB / 0.5197 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3762, allocations: 6.734 kB / 0.5197 GB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.3797, allocations: 2.075 MB / 0.5218 GB, free: 50.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.3798, allocations: 135.8 kB / 0.5219 GB, free: 50.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.3799, allocations: 19.48 kB / 0.5219 GB, free: 50.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.3805, allocations: 73.23 kB / 0.522 GB, free: 50.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3806, allocations: 66.66 kB / 0.522 GB, free: 50.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.3807, allocations: 18.5 kB / 0.5221 GB, free: 50.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004079/0.3811, allocations: 314.5 kB / 0.5224 GB, free: 50.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3811, allocations: 1.859 kB / 0.5224 GB, free: 50.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001136/0.3823, allocations: 229 kB / 0.5226 GB, free: 50.07 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 (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.0002157/0.3825, allocations: 134.5 kB / 0.5227 GB, free: 49.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.3854, allocations: 1.591 MB / 0.5243 GB, free: 49.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3854, allocations: 5.375 kB / 0.5243 GB, free: 49.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002924/0.3883, allocations: 1.128 MB / 0.5254 GB, free: 49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009809/0.3893, allocations: 156.8 kB / 0.5255 GB, free: 48.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.3935, allocations: 2.796 MB / 0.5282 GB, free: 47.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.3941, allocations: 1.069 MB / 0.5293 GB, free: 46.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.3944, allocations: 62.55 kB / 0.5293 GB, free: 46.65 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3944, allocations: 0 / 0.5293 GB, free: 46.65 MB / 362.7 MB Notification: Performance of Templates: time 0.02035/0.4148, allocations: 20.1 MB / 0.549 GB, free: 31.5 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)