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.0006339/0.0006339, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008089/0.001443, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006783/0.0006783, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008283/0.001507, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9155/0.9155, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08241/0.998, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.1119/0.1119, allocations: 29.43 MB / 273.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/0.2203, allocations: 9.515 MB / 282.9 MB, free: 12.84 MB / 282.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.462e-06/1.462e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.256e-05, allocations: 2.312 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006269/0.006281, allocations: 5.277 MB / 289.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.008503, allocations: 1.578 MB / 291.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.008762, allocations: 34.81 kB / 291.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.009064, allocations: 133 kB / 291.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.009592, allocations: 366.3 kB / 291.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.0101, allocations: 327.9 kB / 291.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.0111, allocations: 1.344 MB / 293.3 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.01137, allocations: 235.4 kB / 293.5 MB, free: 5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.0122, allocations: 0.8086 MB / 294.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.0127, allocations: 471.2 kB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.01278, allocations: 76 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.01289, allocations: 80 kB / 294.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.0131, allocations: 295.3 kB / 295.2 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.01329, allocations: 223.6 kB / 295.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.01378, allocations: 0.6114 MB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.01379, allocations: 0 / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01379, allocations: 4 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.01381, allocations: 3.938 kB / 296 MB, free: 2.93 MB / 282.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.001259/0.01507, allocations: 1.165 MB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.01509, allocations: 8.031 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.01522, allocations: 124.8 kB / 297.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.01572, allocations: 487.2 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.01603, allocations: 0.7214 MB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.0161, allocations: 56.38 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.0167, allocations: 0.5749 MB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01671, allocations: 0 / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.01675, allocations: 27.98 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.01676, allocations: 12 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.0171, allocations: 262.8 kB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.01899, allocations: 1.981 MB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.01937, allocations: 307.3 kB / 301.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.01958, allocations: 163.1 kB / 301.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.01961, allocations: 8.5 kB / 301.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.0199, allocations: 301.6 kB / 302.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.593e-06/0.0199, allocations: 4 kB / 302.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.000661/0.02056, allocations: 403.3 kB / 302.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.02061, allocations: 152.2 kB / 302.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.02078, allocations: 331.2 kB / 303.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.02082, allocations: 42.02 kB / 303.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.02093, allocations: 269.4 kB / 303.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.02102, allocations: 166.6 kB / 303.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.02114, allocations: 110.2 kB / 303.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.02123, allocations: 362.7 kB / 304 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.02138, allocations: 147 kB / 304.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.02157, allocations: 259.8 kB / 304.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.02187, allocations: 361.3 kB / 304.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02187, allocations: 0 / 304.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004624/0.02233, allocations: 497.3 kB / 305.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.02237, allocations: 57.62 kB / 305.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.02238, allocations: 0 / 305.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.812e-05/0.02246, allocations: 23.67 kB / 305.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.02423, allocations: 0.7415 MB / 306 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.02643, allocations: 3.947 MB / 310 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.02664, allocations: 75.69 kB / 310.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.02669, allocations: 36.03 kB / 310.1 MB, free: 3.996 MB / 298.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.0001441/0.02684, allocations: 162.4 kB / 310.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.0269, allocations: 39.97 kB / 310.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.0273, allocations: 355.1 kB / 310.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.0273, allocations: 12 kB / 310.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.0273, allocations: 0 / 310.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.02731, allocations: 3.984 kB / 310.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.02821, allocations: 1.025 MB / 311.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.02821, allocations: 4 kB / 311.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.03067, allocations: 1 MB / 312.7 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.0308, allocations: 99.52 kB / 312.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.337e-05/0.03086, allocations: 23.67 kB / 312.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.03089, allocations: 12 kB / 312.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000482/0.03137, allocations: 1.185 MB / 314 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.03137, allocations: 0 / 314 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.03208, allocations: 0.6404 MB / 314.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.03214, allocations: 27.98 kB / 314.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.03236, allocations: 52 kB / 314.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.03245, allocations: 55.91 kB / 314.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.03247, allocations: 12 kB / 314.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.03255, allocations: 124.7 kB / 314.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03255, allocations: 0 / 314.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.0329, allocations: 183.7 kB / 315.1 MB, free: 14.77 MB / 314.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.0001288/0.03303, allocations: 116.3 kB / 315.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.03505, allocations: 1.158 MB / 316.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.03506, allocations: 11.98 kB / 316.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.03596, allocations: 0.5011 MB / 316.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.03636, allocations: 197.9 kB / 317.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.04323, allocations: 1.328 MB / 318.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.04335, allocations: 173.9 kB / 318.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.04358, allocations: 72.53 kB / 318.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.04387, allocations: 161.3 kB / 318.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.04387, allocations: 0 / 318.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of Templates: time 0.01088/0.05475, allocations: 9.469 MB / 328.3 MB, free: 1.617 MB / 314.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: 2.671384590677917]