Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001229/0.001229, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001393/0.001393, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 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.1786/0.1786, allocations: 38.53 MB / 353.2 MB, free: 12.51 MB / 286.1 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.Inverters.InverterToLoad,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.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,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.Inverters.InverterToLoad") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2752, allocations: 62.47 MB / 0.5432 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.00759/0.2828, allocations: 6.163 MB / 0.5493 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.2855, allocations: 1.588 MB / 0.5508 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.2858, allocations: 35.34 kB / 0.5508 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.2863, allocations: 140.5 kB / 0.551 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007483/0.287, allocations: 377.3 kB / 0.5513 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2876, allocations: 312.4 kB / 0.5516 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.2889, allocations: 1.35 MB / 0.5529 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.2893, allocations: 232.8 kB / 0.5532 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.2901, allocations: 0.57 MB / 0.5537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.2909, allocations: 0.5717 MB / 0.5543 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.291, allocations: 94.89 kB / 0.5544 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2912, allocations: 91.12 kB / 0.5545 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.2915, allocations: 351.2 kB / 0.5548 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.292, allocations: 414.7 kB / 0.5552 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2931, allocations: 1.064 MB / 0.5562 GB, free: 6.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2931, allocations: 0 / 0.5562 GB, free: 6.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2931, allocations: 0 / 0.5562 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.2931, allocations: 1.062 kB / 0.5562 GB, free: 6.918 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002518/0.2956, allocations: 1.142 MB / 0.5573 GB, free: 5.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2956, allocations: 15.98 kB / 0.5574 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2958, allocations: 92.45 kB / 0.5574 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.2971, allocations: 0.582 MB / 0.558 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/0.2978, allocations: 0.737 MB / 0.5587 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.2979, allocations: 63.92 kB / 0.5588 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.3, allocations: 1.046 MB / 0.5598 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3001, allocations: 3.938 kB / 0.5598 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3001, allocations: 20 kB / 0.5598 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3002, allocations: 20 kB / 0.5599 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.3027, allocations: 1.081 MB / 0.5609 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004976/0.3077, allocations: 3.17 MB / 0.564 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.3097, allocations: 0.7176 MB / 0.5647 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.311, allocations: 0.5181 MB / 0.5652 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.311, allocations: 4.438 kB / 0.5652 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.3125, allocations: 0.6186 MB / 0.5658 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.3125, allocations: 0 / 0.5658 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003694/0.3162, allocations: 1.379 MB / 0.5672 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.3163, allocations: 136.5 kB / 0.5673 GB, free: 11.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.3167, allocations: 393.9 kB / 0.5677 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.3168, allocations: 37.7 kB / 0.5677 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.317, allocations: 300.9 kB / 0.568 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.3172, allocations: 170.6 kB / 0.5682 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.3174, allocations: 126.2 kB / 0.5683 GB, free: 10.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3176, allocations: 358.8 kB / 0.5686 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3186, allocations: 457 kB / 0.5691 GB, free: 9.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.3196, allocations: 0.5525 MB / 0.5696 GB, free: 8.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.3215, allocations: 0.8886 MB / 0.5705 GB, free: 7.938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3215, allocations: 0 / 0.5705 GB, free: 7.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002256/0.3238, allocations: 1.088 MB / 0.5715 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.3238, allocations: 56.44 kB / 0.5716 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3239, allocations: 8.219 kB / 0.5716 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3239, allocations: 8 kB / 0.5716 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/0.3291, allocations: 1.104 MB / 0.5727 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/0.3366, allocations: 4.49 MB / 0.5771 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.3373, allocations: 111.5 kB / 0.5772 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.3373, allocations: 35.97 kB / 0.5772 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.3377, allocations: 263.3 kB / 0.5775 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.3378, allocations: 51.64 kB / 0.5775 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.3403, allocations: 0.981 MB / 0.5785 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3403, allocations: 8 kB / 0.5785 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3404, allocations: 0 / 0.5785 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3404, allocations: 3.984 kB / 0.5785 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.3444, allocations: 2.096 MB / 0.5805 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3444, allocations: 3.938 kB / 0.5805 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006103/0.3505, allocations: 1.287 MB / 0.5818 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.3505, allocations: 4 kB / 0.5818 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.3505, allocations: 15.98 kB / 0.5818 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3506, allocations: 4 kB / 0.5818 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3506, allocations: 0 / 0.5818 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.3544, allocations: 1.705 MB / 0.5835 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.3547, allocations: 127.5 kB / 0.5836 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3548, allocations: 31.98 kB / 0.5836 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.3555, allocations: 91.88 kB / 0.5837 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.3557, allocations: 95.7 kB / 0.5838 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.3557, allocations: 23.92 kB / 0.5838 GB, free: 9.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.356, allocations: 271.1 kB / 0.5841 GB, free: 9.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.356, allocations: 0 / 0.5841 GB, free: 9.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000625/0.3566, allocations: 179.7 kB / 0.5843 GB, free: 9.438 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.3568, allocations: 131.1 kB / 0.5844 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006856/0.3637, allocations: 2.015 MB / 0.5864 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3637, allocations: 0 / 0.5864 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00317/0.3668, allocations: 0.9257 MB / 0.5873 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.3676, allocations: 140.2 kB / 0.5874 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.3712, allocations: 1.66 MB / 0.589 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.3718, allocations: 0.929 MB / 0.5899 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.3721, allocations: 47.44 kB / 0.59 GB, free: 3.496 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3721, allocations: 0 / 0.59 GB, free: 3.496 MB / 430.1 MB Notification: Performance of Templates: time 0.01508/0.3871, allocations: 11.49 MB / 0.6012 GB, free: 8.035 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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: 8.940015505068004]