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.001522/0.001522, allocations: 183.5 kB / 15.76 MB, free: 6.344 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.019/2.019, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001139/0.001138, allocations: 102.7 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2617/0.2617, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5267/0.671, allocations: 112.9 MB / 0.578 GB, free: 3.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/0.6714, allocations: 100.8 kB / 0.5781 GB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.8099, allocations: 28.2 MB / 0.6057 GB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.8099, allocations: 4 kB / 0.6057 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.8101, allocations: 20 kB / 0.6057 GB, free: 10.62 MB / 410.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.0112/0.8213, allocations: 1.762 MB / 0.6074 GB, free: 8.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.8213, allocations: 8.031 kB / 0.6074 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.8234, allocations: 162.6 kB / 0.6076 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.8349, allocations: 1.658 MB / 0.6092 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00158/0.8365, allocations: 0.5187 MB / 0.6097 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/0.8374, allocations: 94.8 kB / 0.6098 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.8484, allocations: 2.105 MB / 0.6118 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-05/0.8485, allocations: 0 / 0.6118 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/0.8488, allocations: 41.61 kB / 0.6119 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004159/0.8493, allocations: 81.02 kB / 0.612 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.863, allocations: 2.375 MB / 0.6143 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.8861, allocations: 5.744 MB / 0.6199 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/0.8952, allocations: 1.814 MB / 0.6217 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.8955, allocations: 16.94 kB / 0.6217 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005973/0.9015, allocations: 1.483 MB / 0.6231 GB, free: 12.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=125): time 5.3e-06/0.9015, allocations: 0 / 0.6231 GB, free: 12.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.02879/0.9303, allocations: 6.65 MB / 0.6296 GB, free: 5.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.9305, allocations: 110.1 kB / 0.6297 GB, free: 5.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.9314, allocations: 441.1 kB / 0.6301 GB, free: 5.102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004918/0.9319, allocations: 57.69 kB / 0.6302 GB, free: 5.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/0.9324, allocations: 387.2 kB / 0.6306 GB, free: 4.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009709/0.9334, allocations: 425.9 kB / 0.631 GB, free: 4.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.9336, allocations: 24 kB / 0.631 GB, free: 4.211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.9339, allocations: 366.8 kB / 0.6313 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00441/0.9383, allocations: 1.135 MB / 0.6325 GB, free: 2.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.9429, allocations: 1.286 MB / 0.6337 GB, free: 1.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/0.9473, allocations: 1.179 MB / 0.6349 GB, free: 208 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.9474, allocations: 0 / 0.6349 GB, free: 208 kB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.02262/0.97, allocations: 4.445 MB / 0.6392 GB, free: 11.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.9702, allocations: 61.92 kB / 0.6393 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.9702, allocations: 11.94 kB / 0.6393 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.9829, allocations: 2.129 MB / 0.6414 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.9845, allocations: 167.8 kB / 0.6415 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05674/1.041, allocations: 14.13 MB / 0.6553 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.044, allocations: 203.8 kB / 0.6555 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/1.044, allocations: 67.91 kB / 0.6556 GB, free: 10.67 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * 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%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.001082/1.045, allocations: 369.5 kB / 0.6559 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/1.046, allocations: 83.05 kB / 0.656 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.057, allocations: 2.653 MB / 0.6586 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/1.057, allocations: 35.92 kB / 0.6586 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.057, allocations: 4 kB / 0.6586 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.28e-05/1.057, allocations: 11.92 kB / 0.6586 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.074, allocations: 4.399 MB / 0.6629 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/1.074, allocations: 256 / 0.6629 GB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0241/1.098, allocations: 2.829 MB / 0.6657 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/1.098, allocations: 28.84 kB / 0.6657 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.099, allocations: 35.97 kB / 0.6658 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/1.1, allocations: 1.396 MB / 0.6671 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.1, allocations: 3.938 kB / 0.6671 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.118, allocations: 4.401 MB / 0.6714 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.119, allocations: 339.9 kB / 0.6718 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/1.119, allocations: 87.94 kB / 0.6718 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/1.122, allocations: 247.7 kB / 0.6721 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008721/1.123, allocations: 192.6 kB / 0.6723 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.124, allocations: 39.97 kB / 0.6723 GB, free: 9.113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000692/1.124, allocations: 338.8 kB / 0.6726 GB, free: 8.781 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.124, allocations: 0 / 0.6726 GB, free: 8.781 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00215/1.126, allocations: 379.9 kB / 0.673 GB, free: 8.41 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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 92 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007041/1.127, allocations: 240.6 kB / 0.6732 GB, free: 8.164 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/1.14, allocations: 3.286 MB / 0.6764 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.14, allocations: 0 / 0.6764 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01311/1.153, allocations: 2.37 MB / 0.6787 GB, free: 2.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.155, allocations: 154 kB / 0.6789 GB, free: 2.309 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.168, allocations: 3.914 MB / 0.6827 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.169, allocations: 1.159 MB / 0.6838 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.17, allocations: 79.41 kB / 0.6839 GB, free: 13.05 MB / 490.7 MB Notification: Performance of SimCode: time 2.935e-06/1.171, allocations: 0 / 0.6839 GB, free: 13.05 MB / 490.7 MB Notification: Performance of Templates: time 0.04658/1.217, allocations: 21.44 MB / 0.7048 GB, free: 7.59 MB / 0.4948 GB 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)