Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001998/0.001998, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 82.64 kB / 261.8 MB, free: 1.68 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.2855/0.2855, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.619e-05/1.614e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 56.32 MB / 466.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.5963, allocations: 101.4 MB / 0.5542 GB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.5967, allocations: 89.62 kB / 0.5543 GB, free: 8.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07977/0.6765, allocations: 15.54 MB / 0.5695 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6766, allocations: 0 / 0.5695 GB, free: 12.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.809e-05/0.6767, allocations: 16 kB / 0.5695 GB, free: 12.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003813/0.6805, allocations: 1.04 MB / 0.5705 GB, free: 11.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6806, allocations: 12.03 kB / 0.5705 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.681, allocations: 87.11 kB / 0.5706 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.6869, allocations: 1.221 MB / 0.5718 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007637/0.6877, allocations: 329.2 kB / 0.5721 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.6881, allocations: 35.91 kB / 0.5722 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00234/0.6904, allocations: 0.7966 MB / 0.5729 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.6925, allocations: 0.8185 MB / 0.5737 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.6926, allocations: 0 / 0.5737 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6927, allocations: 7.953 kB / 0.5738 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.6927, allocations: 12 kB / 0.5738 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008481/0.7012, allocations: 3.163 MB / 0.5769 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7027, allocations: 0.5244 MB / 0.5774 GB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.7037, allocations: 390.5 kB / 0.5777 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.7038, allocations: 4.438 kB / 0.5777 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.7048, allocations: 472.8 kB / 0.5782 GB, free: 5.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.506e-06/0.7048, allocations: 4 kB / 0.5782 GB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001759/0.7066, allocations: 0.6242 MB / 0.5788 GB, free: 5.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.7067, allocations: 147.1 kB / 0.5789 GB, free: 4.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.7072, allocations: 285.6 kB / 0.5792 GB, free: 4.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.7073, allocations: 36.38 kB / 0.5793 GB, free: 4.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.7077, allocations: 338.3 kB / 0.5796 GB, free: 4.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.7079, allocations: 168.8 kB / 0.5797 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.708, allocations: 0 / 0.5797 GB, free: 4.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7081, allocations: 336.5 kB / 0.5801 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.7089, allocations: 319.9 kB / 0.5804 GB, free: 3.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.7098, allocations: 429.4 kB / 0.5808 GB, free: 3.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.7106, allocations: 293.9 kB / 0.5811 GB, free: 3.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7106, allocations: 0 / 0.5811 GB, free: 3.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001851/0.7124, allocations: 0.7248 MB / 0.5818 GB, free: 2.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.7125, allocations: 47.88 kB / 0.5818 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.7126, allocations: 8 kB / 0.5818 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.7126, allocations: 11.98 kB / 0.5818 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/0.7253, allocations: 1.588 MB / 0.5834 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009122/0.7345, allocations: 3.96 MB / 0.5872 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.7359, allocations: 119.5 kB / 0.5874 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.7361, allocations: 43.03 kB / 0.5874 GB, free: 13.02 MB / 394.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: 14 ($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.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.7364, allocations: 134.4 kB / 0.5875 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.7366, allocations: 47.44 kB / 0.5876 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.7384, allocations: 0.6686 MB / 0.5882 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.7384, allocations: 8 kB / 0.5882 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7384, allocations: 0 / 0.5882 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7384, allocations: 7.984 kB / 0.5882 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.7424, allocations: 1.732 MB / 0.5899 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.7425, allocations: 4 kB / 0.5899 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01537/0.7579, allocations: 1.838 MB / 0.5917 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/0.7579, allocations: 4 kB / 0.5917 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.7581, allocations: 7.984 kB / 0.5917 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.7581, allocations: 4 kB / 0.5917 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.7581, allocations: 11.89 kB / 0.5918 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.7609, allocations: 1.314 MB / 0.593 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.7615, allocations: 204.6 kB / 0.5932 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.7617, allocations: 22.88 kB / 0.5933 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.763, allocations: 115.9 kB / 0.5934 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.7634, allocations: 94.41 kB / 0.5935 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.7635, allocations: 19.11 kB / 0.5935 GB, free: 7.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.7639, allocations: 220.6 kB / 0.5937 GB, free: 7.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7639, allocations: 0 / 0.5937 GB, free: 7.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009756/0.7649, allocations: 174.9 kB / 0.5939 GB, free: 7.332 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/0.7652, allocations: 133 kB / 0.594 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.7765, allocations: 2.038 MB / 0.596 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7766, allocations: 4.062 kB / 0.596 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005557/0.7822, allocations: 0.9532 MB / 0.5969 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7833, allocations: 91.3 kB / 0.597 GB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.7883, allocations: 1.323 MB / 0.5983 GB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.7891, allocations: 0.9413 MB / 0.5992 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.7896, allocations: 47.05 kB / 0.5992 GB, free: 2.371 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7896, allocations: 0 / 0.5992 GB, free: 2.371 MB / 394.7 MB Notification: Performance of Templates: time 0.0314/0.821, allocations: 10.71 MB / 0.6097 GB, free: 7.746 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1)