Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002182, allocations: 185.9 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 95.92 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2682/0.2682, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.472e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 56.31 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5083/0.6113, allocations: 112.8 MB / 0.5722 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/0.6118, allocations: 91.94 kB / 0.5722 GB, free: 6.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1466/0.7584, allocations: 28.19 MB / 0.5998 GB, free: 10.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7584, allocations: 0 / 0.5998 GB, free: 10.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.557e-05/0.7585, allocations: 20.19 kB / 0.5998 GB, free: 10.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007414/0.7659, allocations: 1.637 MB / 0.6014 GB, free: 8.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.766, allocations: 8.031 kB / 0.6014 GB, free: 8.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.7677, allocations: 158.6 kB / 0.6016 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008918/0.7766, allocations: 1.649 MB / 0.6032 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/0.7779, allocations: 0.514 MB / 0.6037 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.7787, allocations: 95.98 kB / 0.6038 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.7838, allocations: 1.771 MB / 0.6055 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.7839, allocations: 0 / 0.6055 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.7842, allocations: 35.98 kB / 0.6055 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/0.7845, allocations: 81.95 kB / 0.6056 GB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005647/0.7901, allocations: 1.808 MB / 0.6074 GB, free: 2.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.8087, allocations: 5.743 MB / 0.613 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.8129, allocations: 1.291 MB / 0.6142 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.8153, allocations: 0.969 MB / 0.6152 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.8155, allocations: 16.98 kB / 0.6152 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.8183, allocations: 1.161 MB / 0.6163 GB, free: 9.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=125): time 7.975e-06/0.8183, allocations: 0 / 0.6163 GB, free: 9.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.01045/0.8288, allocations: 3.822 MB / 0.6201 GB, free: 5.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.8289, allocations: 106.1 kB / 0.6202 GB, free: 5.004 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.8298, allocations: 439.8 kB / 0.6206 GB, free: 4.566 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.83, allocations: 61.69 kB / 0.6206 GB, free: 4.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.8304, allocations: 391.2 kB / 0.621 GB, free: 4.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/0.831, allocations: 425.9 kB / 0.6214 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.8311, allocations: 24 kB / 0.6214 GB, free: 3.668 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.8313, allocations: 362.7 kB / 0.6218 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.8336, allocations: 0.9007 MB / 0.6227 GB, free: 2.402 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.8361, allocations: 1.052 MB / 0.6237 GB, free: 1.316 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.8384, allocations: 0.9355 MB / 0.6246 GB, free: 388 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.8384, allocations: 4 kB / 0.6246 GB, free: 384 kB / 458.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01693/0.8554, allocations: 3.785 MB / 0.6283 GB, free: 12.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.8555, allocations: 61.67 kB / 0.6284 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8555, allocations: 0 / 0.6284 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008841/0.8644, allocations: 1.684 MB / 0.63 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.8659, allocations: 167.7 kB / 0.6302 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3633/1.229, allocations: 10.87 MB / 0.6408 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.232, allocations: 199.9 kB / 0.641 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/1.232, allocations: 69.92 kB / 0.6411 GB, free: 131.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 1 * 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 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004847/1.233, allocations: 186.5 kB / 0.6412 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/1.233, allocations: 78.92 kB / 0.6413 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/1.239, allocations: 2.026 MB / 0.6433 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/1.239, allocations: 34.45 kB / 0.6433 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.239, allocations: 0 / 0.6433 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/1.239, allocations: 6.625 kB / 0.6433 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.25, allocations: 3.762 MB / 0.647 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.25, allocations: 3.703 kB / 0.647 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02394/1.274, allocations: 2.822 MB / 0.6498 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/1.274, allocations: 42.81 kB / 0.6498 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/1.275, allocations: 37.27 kB / 0.6498 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/1.276, allocations: 1.476 MB / 0.6513 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.276, allocations: 3.188 kB / 0.6513 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00881/1.285, allocations: 3.428 MB / 0.6546 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.286, allocations: 351.2 kB / 0.655 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/1.287, allocations: 87.53 kB / 0.655 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002909/1.29, allocations: 244.2 kB / 0.6553 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008757/1.291, allocations: 192.8 kB / 0.6555 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.291, allocations: 39.81 kB / 0.6555 GB, free: 129 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00065/1.292, allocations: 340.4 kB / 0.6558 GB, free: 128.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.292, allocations: 3.938 kB / 0.6558 GB, free: 128.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00195/1.294, allocations: 377.4 kB / 0.6562 GB, free: 128.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0006218/1.294, allocations: 238.1 kB / 0.6564 GB, free: 128.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007696/1.302, allocations: 2.707 MB / 0.6591 GB, free: 128.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.302, allocations: 0 / 0.6591 GB, free: 128.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01095/1.313, allocations: 2.046 MB / 0.6611 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.315, allocations: 155.9 kB / 0.6612 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.325, allocations: 3.013 MB / 0.6641 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/1.326, allocations: 1.172 MB / 0.6653 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.327, allocations: 77.5 kB / 0.6654 GB, free: 125.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.203e-06/1.327, allocations: 0 / 0.6654 GB, free: 125.9 MB / 474.7 MB Notification: Performance of Templates: time 0.04939/1.377, allocations: 21.41 MB / 0.6863 GB, free: 124.4 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)