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.00211/0.00211, allocations: 88.33 kB / 20.96 MB, free: 3.441 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.002533/0.002533, allocations: 161.7 kB / 24.26 MB, free: 144 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.529/1.529, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3692/0.3692, allocations: 29.42 MB / 290.5 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 179] 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.154e-06/2.154e-06, allocations: 3.938 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.285e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.01016/0.01019, allocations: 6.184 MB / 375.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.01349, allocations: 1.29 MB / 376.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.01396, allocations: 35.69 kB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.0144, allocations: 134.8 kB / 376.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01579, allocations: 441.4 kB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.01658, allocations: 251.4 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.01835, allocations: 1.129 MB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.01916, allocations: 254.2 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.02052, allocations: 0.6621 MB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/0.02142, allocations: 0.4909 MB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.02154, allocations: 64 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.0217, allocations: 68 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.02214, allocations: 351.1 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.02256, allocations: 283.3 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.02389, allocations: 0.919 MB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.02389, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.0239, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.02391, allocations: 0 / 381.4 MB, free: 14.73 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.002438/0.02635, allocations: 1.092 MB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.0264, allocations: 11.98 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.02669, allocations: 140.4 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.02783, allocations: 0.5706 MB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.02806, allocations: 220.1 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.0282, allocations: 64.36 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.03, allocations: 0.873 MB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.03002, allocations: 0 / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.03009, allocations: 20 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.03023, allocations: 45.28 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.03163, allocations: 0.6217 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.03633, allocations: 2.443 MB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.03802, allocations: 0.5672 MB / 388.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.03881, allocations: 297.8 kB / 388.4 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.03884, allocations: 12.27 kB / 388.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/0.03966, allocations: 350.8 kB / 388.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/0.03966, allocations: 0 / 388.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.004791/0.04445, allocations: 1.7 MB / 390.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.04455, allocations: 110.8 kB / 390.5 MB, free: 5.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.04521, allocations: 457.7 kB / 391 MB, free: 4.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.04527, allocations: 41.7 kB / 391 MB, free: 4.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.04566, allocations: 372.4 kB / 391.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.04582, allocations: 150.8 kB / 391.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.04602, allocations: 114.3 kB / 391.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.04627, allocations: 378.7 kB / 392 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.04671, allocations: 250.9 kB / 392.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.04729, allocations: 424.3 kB / 392.7 MB, free: 3.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.04839, allocations: 0.6181 MB / 393.3 MB, free: 2.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.04839, allocations: 4 kB / 393.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001568/0.04996, allocations: 0.8689 MB / 394.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.05004, allocations: 53.69 kB / 394.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.05005, allocations: 4 kB / 394.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.05045, allocations: 90 kB / 394.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.05087, allocations: 107.8 kB / 394.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.05415, allocations: 3.01 MB / 397.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.05459, allocations: 27.98 kB / 397.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.05468, allocations: 43.97 kB / 397.5 MB, free: 13.88 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.0004874/0.05516, allocations: 269.6 kB / 397.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.0553, allocations: 67.66 kB / 397.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.05694, allocations: 0.6284 MB / 398.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.05694, allocations: 4 kB / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.05695, allocations: 4 kB / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.05695, allocations: 0 / 398.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.05959, allocations: 1.281 MB / 399.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.0596, allocations: 0 / 399.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.0599, allocations: 67.97 kB / 399.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005084/0.06041, allocations: 101.6 kB / 399.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.06046, allocations: 19.92 kB / 399.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.06354, allocations: 2.994 MB / 402.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.06355, allocations: 256 / 402.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.0659, allocations: 1.009 MB / 403.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.06616, allocations: 87.67 kB / 404 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.06626, allocations: 27.98 kB / 404 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.06666, allocations: 39.94 kB / 404.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.06677, allocations: 39.88 kB / 404.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.06681, allocations: 8 kB / 404.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004578/0.06727, allocations: 311.1 kB / 404.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06727, allocations: 0 / 404.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008437/0.06811, allocations: 148 kB / 404.6 MB, free: 6.484 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.0002396/0.06835, allocations: 138.2 kB / 404.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.07016, allocations: 0.896 MB / 405.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.07016, allocations: 0 / 405.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.07117, allocations: 485.3 kB / 406.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.07196, allocations: 137.4 kB / 406.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.07493, allocations: 1.397 MB / 407.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.07541, allocations: 374.1 kB / 408 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.07571, allocations: 96.62 kB / 408.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.07584, allocations: 52.48 kB / 408.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.07584, allocations: 0 / 408.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.0152/0.09103, allocations: 6.807 MB / 414.9 MB, free: 12.09 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] 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.152155726100318]