Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 75.75 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2456/0.2456, allocations: 29.41 MB / 291.2 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.105e-05, allocations: 5.547 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005479/0.00551, allocations: 6.079 MB / 375.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.00772, allocations: 1.535 MB / 377.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.008043, allocations: 31.75 kB / 377.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.008484, allocations: 142.8 kB / 377.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.009137, allocations: 385.7 kB / 377.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.009643, allocations: 323.4 kB / 378.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.01063, allocations: 1.344 MB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.01092, allocations: 225.2 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000815/0.01173, allocations: 0.7326 MB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.0124, allocations: 0.5377 MB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.01252, allocations: 92 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.01264, allocations: 88 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.01291, allocations: 367.1 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.01319, allocations: 307.4 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.0139, allocations: 0.7244 MB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.01391, allocations: 0 / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01391, allocations: 0 / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.01392, allocations: 0 / 382.5 MB, free: 14.4 MB / 362.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.001637/0.01556, allocations: 1.216 MB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.0156, allocations: 15.98 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.01579, allocations: 140.5 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.01665, allocations: 0.619 MB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.01704, allocations: 0.7214 MB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.01713, allocations: 60.36 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.01799, allocations: 0.6507 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01801, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.01807, allocations: 28 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.01809, allocations: 12 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.01875, allocations: 393.6 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.02152, allocations: 2.839 MB / 389.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.02211, allocations: 341 kB / 389.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.02248, allocations: 219.7 kB / 389.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.02252, allocations: 16.44 kB / 389.7 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.02294, allocations: 347.8 kB / 390.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.02294, allocations: 3.938 kB / 390.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001176/0.02411, allocations: 0.606 MB / 390.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.02418, allocations: 140.5 kB / 390.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.02447, allocations: 398.6 kB / 391.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.02451, allocations: 41.7 kB / 391.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.02469, allocations: 343.6 kB / 391.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.02481, allocations: 170.8 kB / 391.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.02495, allocations: 120 kB / 391.9 MB, free: 4.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.02513, allocations: 0.5313 MB / 392.4 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.02541, allocations: 214.9 kB / 392.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.02573, allocations: 368.5 kB / 393 MB, free: 3.332 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.02623, allocations: 459.4 kB / 393.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02624, allocations: 4 kB / 393.4 MB, free: 2.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008924/0.02713, allocations: 0.6681 MB / 394.1 MB, free: 2.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.02718, allocations: 49.69 kB / 394.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.02719, allocations: 4 kB / 394.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.02734, allocations: 31.61 kB / 394.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.02932, allocations: 0.7219 MB / 394.9 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.03254, allocations: 5.667 MB / 400.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.0329, allocations: 79.64 kB / 400.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.03298, allocations: 39.91 kB / 400.7 MB, free: 11.16 MB / 378.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 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.03326, allocations: 210.4 kB / 400.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.03336, allocations: 67.66 kB / 400.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.03407, allocations: 478.2 kB / 401.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.03408, allocations: 7.984 kB / 401.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.03409, allocations: 4 kB / 401.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.03409, allocations: 0 / 401.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.03555, allocations: 1.368 MB / 402.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.03555, allocations: 0 / 402.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.03785, allocations: 0.8466 MB / 403.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.625e-05/0.03794, allocations: 27.66 kB / 403.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.03798, allocations: 16 kB / 403.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/0.03881, allocations: 1.728 MB / 405.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.03881, allocations: 0 / 405.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.03981, allocations: 0.839 MB / 406.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.04, allocations: 111.6 kB / 406.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.04007, allocations: 31.92 kB / 406.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.0403, allocations: 55.92 kB / 406.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.04049, allocations: 115.8 kB / 406.6 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.04052, allocations: 19.98 kB / 406.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.0407, allocations: 251.1 kB / 406.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0407, allocations: 0 / 406.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006065/0.04131, allocations: 191.6 kB / 407 MB, free: 4.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.04149, allocations: 130.3 kB / 407.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.04404, allocations: 1.294 MB / 408.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.04405, allocations: 0 / 408.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.04521, allocations: 0.6123 MB / 409 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.04569, allocations: 149.2 kB / 409.2 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.04806, allocations: 1.34 MB / 410.5 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.04818, allocations: 169.9 kB / 410.7 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.04846, allocations: 120.4 kB / 410.8 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.0486, allocations: 40.5 kB / 410.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.0486, allocations: 0 / 410.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of Templates: time 0.01104/0.05964, allocations: 8.538 MB / 419.4 MB, free: 8.129 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3263218849897385]