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.001662/0.001662, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.002116/0.002116, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9826/0.9826, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2473/0.2473, allocations: 29.43 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="Time|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="Time|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.204e-06/2.204e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.172e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008473/0.008505, allocations: 5.529 MB / 375.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.01164, allocations: 1.309 MB / 376.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.01222, allocations: 39.62 kB / 376.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.01268, allocations: 127 kB / 376.6 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.01448, allocations: 429.5 kB / 377.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008013/0.01528, allocations: 255.5 kB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.01688, allocations: 1.125 MB / 378.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.01738, allocations: 254.1 kB / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.01882, allocations: 0.639 MB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008378/0.01966, allocations: 0.5104 MB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.01977, allocations: 68 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.01991, allocations: 64 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.02018, allocations: 355.1 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.02047, allocations: 287.3 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.02128, allocations: 0.615 MB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.02128, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02129, allocations: 4 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.02131, allocations: 0 / 381.2 MB, free: 15.37 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001632/0.02294, allocations: 1.192 MB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.02299, allocations: 15.98 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.02318, allocations: 140.4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.02392, allocations: 0.5499 MB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.0241, allocations: 216.1 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/0.02419, allocations: 68.33 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.02545, allocations: 0.6074 MB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.02547, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.02552, allocations: 39.92 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.02562, allocations: 37.28 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.02606, allocations: 251.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.02882, allocations: 2.712 MB / 387 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.02943, allocations: 402.8 kB / 387.4 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.02969, allocations: 162.9 kB / 387.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.02973, allocations: 8.328 kB / 387.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.03002, allocations: 229 kB / 387.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/0.03002, allocations: 0 / 387.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001894/0.03191, allocations: 1.14 MB / 388.9 MB, free: 7.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.03198, allocations: 114.7 kB / 389.1 MB, free: 7.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.03235, allocations: 482.4 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.03239, allocations: 37.7 kB / 389.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.0326, allocations: 411.2 kB / 390 MB, free: 6.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.0327, allocations: 150.8 kB / 390.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.03283, allocations: 131.9 kB / 390.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.03298, allocations: 0.543 MB / 390.8 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.03316, allocations: 142.9 kB / 390.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.0337, allocations: 385.4 kB / 391.3 MB, free: 4.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.03411, allocations: 486.2 kB / 391.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.03411, allocations: 0 / 391.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007053/0.03482, allocations: 0.6364 MB / 392.4 MB, free: 3.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.03487, allocations: 49.69 kB / 392.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.03488, allocations: 8 kB / 392.5 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.03511, allocations: 63.67 kB / 392.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.03534, allocations: 111.8 kB / 392.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.03726, allocations: 3.806 MB / 396.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.03751, allocations: 31.94 kB / 396.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.03757, allocations: 35.98 kB / 396.5 MB, free: 15.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 63 * 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.0002403/0.03781, allocations: 208.5 kB / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.03788, allocations: 71.66 kB / 396.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.03843, allocations: 389.4 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.03844, allocations: 4 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.03845, allocations: 4 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.03845, allocations: 3.984 kB / 397.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.04023, allocations: 1.104 MB / 398.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.04024, allocations: 0 / 398.3 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.0404, allocations: 63.89 kB / 398.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.0406, allocations: 71.3 kB / 398.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.04063, allocations: 19.92 kB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.04223, allocations: 3.799 MB / 402.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.04223, allocations: 3.938 kB / 402.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.0429, allocations: 0.6444 MB / 402.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.04302, allocations: 87.67 kB / 403 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.04307, allocations: 31.98 kB / 403 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.04322, allocations: 23.97 kB / 403 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.04329, allocations: 35.88 kB / 403.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.04332, allocations: 16 kB / 403.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.04354, allocations: 291 kB / 403.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04354, allocations: 0 / 403.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005344/0.04407, allocations: 148 kB / 403.5 MB, free: 7.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (42): * Single equations (assignments): 33 * 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.0001549/0.04423, allocations: 127.2 kB / 403.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.04503, allocations: 0.7903 MB / 404.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.04503, allocations: 8.062 kB / 404.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.04541, allocations: 495.1 kB / 404.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.04588, allocations: 139.5 kB / 405 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.04819, allocations: 1.257 MB / 406.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.04833, allocations: 193.9 kB / 406.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.04853, allocations: 84.64 kB / 406.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.04862, allocations: 36.5 kB / 406.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.04862, allocations: 4 kB / 406.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of Templates: time 0.01039/0.05901, allocations: 6.849 MB / 413.5 MB, free: 13.73 MB / 394.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 -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: 3.407837377395481]