Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0007653/0.0007653, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001854, 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.0007199/0.0007199, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001743, 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.9532/0.9532, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1164/1.07, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1352/0.1352, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/0.2651, allocations: 9.531 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 1.406 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.102e-05, allocations: 3.781 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006789/0.00681, allocations: 5.574 MB / 289.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.009501, allocations: 1.351 MB / 291.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.009875, allocations: 39.75 kB / 291.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.01017, allocations: 121.2 kB / 291.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.01105, allocations: 440.1 kB / 291.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.01166, allocations: 237 kB / 292 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01297, allocations: 1.127 MB / 293.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.01338, allocations: 266.7 kB / 293.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.01425, allocations: 0.7272 MB / 294.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.01478, allocations: 452.7 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.01487, allocations: 63.03 kB / 294.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.01498, allocations: 65.97 kB / 294.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.0152, allocations: 311.2 kB / 295 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.01542, allocations: 227.6 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.01597, allocations: 0.576 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.01598, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01598, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.016, allocations: 0 / 295.8 MB, free: 3.262 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.001169/0.01717, allocations: 1.172 MB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.01719, allocations: 8.031 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.01732, allocations: 112.8 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.01784, allocations: 0.4911 MB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.01795, allocations: 224.1 kB / 297.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.01802, allocations: 64.36 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.01857, allocations: 0.5484 MB / 298.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01858, allocations: 3.938 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.01862, allocations: 27.98 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/0.01868, allocations: 29.3 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.01893, allocations: 187.8 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.02071, allocations: 2.019 MB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.02118, allocations: 361.6 kB / 301 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.02135, allocations: 130.9 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.02137, allocations: 12.33 kB / 301.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.02159, allocations: 213.5 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.02159, allocations: 0 / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.0008206/0.02241, allocations: 479.3 kB / 301.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.02246, allocations: 122.9 kB / 301.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.02268, allocations: 391 kB / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.0227, allocations: 37.7 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.02284, allocations: 321.3 kB / 302.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.02291, allocations: 142.8 kB / 302.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.02302, allocations: 118.2 kB / 302.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.02311, allocations: 370.6 kB / 303.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.02322, allocations: 117.8 kB / 303.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.02338, allocations: 271.5 kB / 303.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.02365, allocations: 389.8 kB / 304 MB, free: 10.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02366, allocations: 0 / 304 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004449/0.0241, allocations: 489.2 kB / 304.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.02415, allocations: 53.62 kB / 304.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02416, allocations: 8.062 kB / 304.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.02432, allocations: 56.5 kB / 304.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.02455, allocations: 115.8 kB / 304.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.02582, allocations: 2.691 MB / 307.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.02599, allocations: 59.8 kB / 307.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.02604, allocations: 35.92 kB / 307.5 MB, free: 6.754 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.0001436/0.02618, allocations: 154 kB / 307.7 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.02623, allocations: 51.89 kB / 307.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.02658, allocations: 286.3 kB / 308 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02658, allocations: 8 kB / 308 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.02658, allocations: 0 / 308 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.02659, allocations: 7.922 kB / 308 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.02734, allocations: 0.7962 MB / 308.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02734, allocations: 4 kB / 308.8 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.02749, allocations: 59.91 kB / 308.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.02758, allocations: 87.41 kB / 309 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.02773, allocations: 64.5 kB / 309 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.02775, allocations: 11.98 kB / 309.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.02889, allocations: 2.68 MB / 311.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02889, allocations: 4 kB / 311.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.02936, allocations: 0.4999 MB / 312.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.02942, allocations: 27.98 kB / 312.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.02955, allocations: 15.98 kB / 312.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.02961, allocations: 31.94 kB / 312.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.02963, allocations: 11.98 kB / 312.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.02975, allocations: 156.7 kB / 312.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02975, allocations: 4 kB / 312.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.03023, allocations: 183.6 kB / 312.7 MB, free: 1.328 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.0001348/0.03036, allocations: 109.6 kB / 312.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.03091, allocations: 0.6205 MB / 313.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/0.03093, allocations: 7.984 kB / 313.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.0312, allocations: 353.9 kB / 313.7 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.03163, allocations: 197.5 kB / 313.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.03872, allocations: 1.21 MB / 315.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.03886, allocations: 189.7 kB / 315.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.03905, allocations: 64.7 kB / 315.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.03927, allocations: 165.3 kB / 315.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03927, allocations: 0 / 315.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.01001/0.04928, allocations: 7.467 MB / 323 MB, free: 6.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.914404671639204]