Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.0006367/0.0006367, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008326/0.001469, 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.0006795/0.0006795, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008115/0.001491, 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.8816/0.8816, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08109/0.9627, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.1244/0.1244, allocations: 29.42 MB / 273.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1199/0.2444, allocations: 9.524 MB / 282.9 MB, free: 12.83 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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.396e-06/9.989e-06, allocations: 2.312 kB / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006538/0.006548, allocations: 5.572 MB / 289.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.008947, allocations: 1.361 MB / 291.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.0093, allocations: 36 kB / 291.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.009574, allocations: 122.2 kB / 291.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.01043, allocations: 439.9 kB / 291.7 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.01097, allocations: 241.2 kB / 292 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.01192, allocations: 1.126 MB / 293.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.0122, allocations: 263.7 kB / 293.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008339/0.01304, allocations: 0.726 MB / 294.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.01356, allocations: 457.4 kB / 294.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.01365, allocations: 63.53 kB / 294.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.01375, allocations: 63.94 kB / 294.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.01396, allocations: 319.2 kB / 295 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.01417, allocations: 223.6 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.01471, allocations: 0.5721 MB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.01473, allocations: 0 / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01473, allocations: 0 / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.01475, allocations: 4 kB / 295.8 MB, free: 3.215 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001308/0.01605, allocations: 1.168 MB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.01608, allocations: 8.031 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.01623, allocations: 112.8 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.01678, allocations: 0.4911 MB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.01688, allocations: 220.1 kB / 297.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01699, allocations: 64.38 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.01752, allocations: 0.5445 MB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01753, allocations: 3.938 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.01757, allocations: 32 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.01763, allocations: 29.3 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.01788, allocations: 189.9 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01959, allocations: 2.023 MB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.02002, allocations: 364.6 kB / 301 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02019, allocations: 123 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.02021, allocations: 8.328 kB / 301.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.02041, allocations: 213.5 kB / 301.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.403e-06/0.02041, allocations: 0 / 301.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.0007799/0.02119, allocations: 483.3 kB / 301.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.02124, allocations: 114.8 kB / 301.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.02145, allocations: 395 kB / 302.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.02148, allocations: 41.7 kB / 302.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.0216, allocations: 321.3 kB / 302.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.02168, allocations: 150.8 kB / 302.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02178, allocations: 114.3 kB / 302.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.02187, allocations: 370.6 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.02198, allocations: 113.8 kB / 303.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.02214, allocations: 271.5 kB / 303.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.02242, allocations: 389.7 kB / 304 MB, free: 10.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.02242, allocations: 4 kB / 304 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004269/0.02285, allocations: 488.9 kB / 304.5 MB, free: 9.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.02289, allocations: 49.69 kB / 304.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.0229, allocations: 4 kB / 304.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.02305, allocations: 56.86 kB / 304.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.02333, allocations: 119.8 kB / 304.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.02454, allocations: 2.691 MB / 307.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.0247, allocations: 55.62 kB / 307.5 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.02475, allocations: 39.91 kB / 307.5 MB, free: 6.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.02488, allocations: 154.2 kB / 307.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.02493, allocations: 51.88 kB / 307.7 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.02526, allocations: 290.2 kB / 308 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02527, allocations: 8 kB / 308 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02527, allocations: 4 kB / 308 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.02528, allocations: 3.938 kB / 308 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.02598, allocations: 0.7962 MB / 308.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02598, allocations: 7.969 kB / 308.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.02614, allocations: 63.91 kB / 308.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.02623, allocations: 79.47 kB / 309 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.02637, allocations: 56.48 kB / 309 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.0264, allocations: 15.98 kB / 309 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.02748, allocations: 2.688 MB / 311.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02748, allocations: 0 / 311.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.028, allocations: 0.4958 MB / 312.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.02806, allocations: 27.98 kB / 312.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.02819, allocations: 24.02 kB / 312.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.02823, allocations: 23.95 kB / 312.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02825, allocations: 15.98 kB / 312.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.02836, allocations: 160.7 kB / 312.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02836, allocations: 0 / 312.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.02873, allocations: 179.6 kB / 312.6 MB, free: 1.289 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001079/0.02884, allocations: 110.8 kB / 312.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.02943, allocations: 0.6132 MB / 313.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/0.02945, allocations: 8 kB / 313.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.02973, allocations: 358.2 kB / 313.7 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.03013, allocations: 194.8 kB / 313.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.03696, allocations: 1.207 MB / 315.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.03709, allocations: 193.7 kB / 315.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.03724, allocations: 72.66 kB / 315.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.03744, allocations: 165.2 kB / 315.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03744, allocations: 0 / 315.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Templates: time 0.009682/0.04712, allocations: 7.454 MB / 323 MB, free: 6.945 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.584995334967971]