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.00185/0.00185, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002154/0.002154, allocations: 169.3 kB / 24.27 MB, free: 156 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 1.552/1.552, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3514/0.3514, allocations: 29.41 MB / 290.5 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 1.913e-06/1.913e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.531e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.01062/0.01066, allocations: 6.511 MB / 375.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.01414, allocations: 1.309 MB / 376.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.0148, allocations: 39.62 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.01539, allocations: 130.9 kB / 376.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.01699, allocations: 441.4 kB / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.01782, allocations: 247.5 kB / 377.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01971, allocations: 1.133 MB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.02029, allocations: 254.2 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.02226, allocations: 0.6699 MB / 379.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.02342, allocations: 0.5026 MB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.02365, allocations: 64 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.02397, allocations: 64.05 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.0245, allocations: 367 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.025, allocations: 279.4 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.02627, allocations: 0.9229 MB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.02628, allocations: 0 / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02628, allocations: 0 / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.02629, allocations: 0 / 381.8 MB, free: 14.39 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.002261/0.02855, allocations: 1.238 MB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.02859, allocations: 15.98 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.02886, allocations: 148.3 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.03002, allocations: 0.5538 MB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.03023, allocations: 212.1 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.03035, allocations: 68.36 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.03167, allocations: 0.6966 MB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.03169, allocations: 4 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.03177, allocations: 24 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.03189, allocations: 37.28 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.03274, allocations: 352.8 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.03733, allocations: 2.901 MB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.03858, allocations: 419.6 kB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.03912, allocations: 196 kB / 388.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.03916, allocations: 8.328 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.03975, allocations: 281 kB / 388.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.03975, allocations: 3.938 kB / 388.9 MB, free: 6.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003408/0.04316, allocations: 1.296 MB / 390.2 MB, free: 5.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.04326, allocations: 118.8 kB / 390.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.04394, allocations: 0.5532 MB / 390.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.04399, allocations: 37.7 kB / 390.9 MB, free: 4.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.04439, allocations: 439.2 kB / 391.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.04455, allocations: 158.8 kB / 391.5 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.04478, allocations: 147.9 kB / 391.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003436/0.04513, allocations: 0.5742 MB / 392.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.04543, allocations: 166.9 kB / 392.4 MB, free: 3.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.04596, allocations: 425.5 kB / 392.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.04697, allocations: 0.545 MB / 393.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.04697, allocations: 4 kB / 393.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001198/0.04817, allocations: 0.6908 MB / 394 MB, free: 1.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.04824, allocations: 50.25 kB / 394.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.04825, allocations: 4 kB / 394.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.04857, allocations: 71.33 kB / 394.1 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.04898, allocations: 111.8 kB / 394.3 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.05229, allocations: 3.853 MB / 398.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.05263, allocations: 35.94 kB / 398.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.05271, allocations: 44.09 kB / 398.2 MB, free: 13.03 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.0003429/0.05305, allocations: 232.3 kB / 398.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.05317, allocations: 71.61 kB / 398.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.05428, allocations: 453.4 kB / 398.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.05429, allocations: 4 kB / 398.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.05429, allocations: 0 / 398.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.0543, allocations: 7.984 kB / 398.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.05668, allocations: 1.264 MB / 400.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.05668, allocations: 0 / 400.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.05698, allocations: 59.91 kB / 400.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.05729, allocations: 75.36 kB / 400.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.05733, allocations: 19.92 kB / 400.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.06087, allocations: 3.849 MB / 404.2 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.06088, allocations: 4 kB / 404.2 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.06243, allocations: 0.754 MB / 405 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.06269, allocations: 91.56 kB / 405 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.06278, allocations: 27.98 kB / 405.1 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.06306, allocations: 27.97 kB / 405.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.06316, allocations: 31.89 kB / 405.1 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.0632, allocations: 19.98 kB / 405.2 MB, free: 5.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004416/0.06364, allocations: 339 kB / 405.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.06364, allocations: 0 / 405.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001099/0.06474, allocations: 148 kB / 405.6 MB, free: 5.207 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.0002296/0.06497, allocations: 145.2 kB / 405.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.06645, allocations: 0.8559 MB / 406.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.06645, allocations: 4 kB / 406.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.06729, allocations: 0.5354 MB / 407.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.06806, allocations: 140 kB / 407.3 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.07069, allocations: 1.262 MB / 408.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.07112, allocations: 362 kB / 408.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.07138, allocations: 88.64 kB / 409 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.0715, allocations: 44.48 kB / 409 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0715, allocations: 0 / 409 MB, free: 1.621 MB / 378.7 MB Notification: Performance of Templates: time 0.01495/0.08645, allocations: 6.837 MB / 415.9 MB, free: 10.9 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0490992369595915]