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.001768/0.001768, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002037/0.002037, allocations: 211 kB / 24.48 MB, free: 3.938 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.191/0.191, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.001982/0.001982, allocations: 67.89 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 62.48 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007756/0.2981, allocations: 5.739 MB / 0.5488 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.301, allocations: 1.499 MB / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.3014, allocations: 34.28 kB / 0.5503 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.3019, allocations: 137.2 kB / 0.5504 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008805/0.3027, allocations: 368.9 kB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.3034, allocations: 321 kB / 0.5511 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3048, allocations: 1.341 MB / 0.5524 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.3052, allocations: 232.7 kB / 0.5526 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009826/0.3062, allocations: 0.5742 MB / 0.5532 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.3071, allocations: 0.5479 MB / 0.5537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.3072, allocations: 90.22 kB / 0.5538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.3074, allocations: 90.94 kB / 0.5539 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.3078, allocations: 357.3 kB / 0.5542 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.3082, allocations: 341.7 kB / 0.5545 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3094, allocations: 1.071 MB / 0.5556 GB, free: 7.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3094, allocations: 4 kB / 0.5556 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3094, allocations: 1.438 kB / 0.5556 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.3094, allocations: 0 / 0.5556 GB, free: 7.398 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.002694/0.3121, allocations: 1.138 MB / 0.5567 GB, free: 6.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3121, allocations: 15.98 kB / 0.5567 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3123, allocations: 88.41 kB / 0.5568 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.3138, allocations: 0.5937 MB / 0.5574 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006716/0.3145, allocations: 0.737 MB / 0.5581 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3146, allocations: 59.94 kB / 0.5581 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.3169, allocations: 1.042 MB / 0.5592 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3169, allocations: 11.94 kB / 0.5592 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.317, allocations: 20 kB / 0.5592 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.317, allocations: 12 kB / 0.5592 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.3198, allocations: 1.093 MB / 0.5603 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.3251, allocations: 2.893 MB / 0.5631 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.3274, allocations: 0.7312 MB / 0.5638 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.329, allocations: 0.5046 MB / 0.5643 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.329, allocations: 4.438 kB / 0.5643 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/0.3306, allocations: 0.6187 MB / 0.5649 GB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/0.3306, allocations: 4 kB / 0.5649 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00405/0.3346, allocations: 1.367 MB / 0.5663 GB, free: 12.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.3347, allocations: 148.5 kB / 0.5664 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.3352, allocations: 361.5 kB / 0.5667 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.3352, allocations: 37.7 kB / 0.5668 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.3355, allocations: 304.8 kB / 0.5671 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.3357, allocations: 170.6 kB / 0.5672 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3359, allocations: 118.3 kB / 0.5673 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3361, allocations: 358.8 kB / 0.5677 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.3372, allocations: 494.7 kB / 0.5682 GB, free: 10.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3384, allocations: 0.5894 MB / 0.5687 GB, free: 9.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.3404, allocations: 0.8769 MB / 0.5696 GB, free: 8.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3404, allocations: 0 / 0.5696 GB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002492/0.3429, allocations: 1.109 MB / 0.5707 GB, free: 7.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/0.343, allocations: 53.69 kB / 0.5707 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.343, allocations: 11.88 kB / 0.5707 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.343, allocations: 4 kB / 0.5707 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006087/0.3491, allocations: 1.112 MB / 0.5718 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008378/0.3575, allocations: 4.429 MB / 0.5761 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.3582, allocations: 107.6 kB / 0.5762 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.3583, allocations: 43.92 kB / 0.5763 GB, free: 1.477 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.0004203/0.3588, allocations: 247.4 kB / 0.5765 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.3589, allocations: 47.72 kB / 0.5766 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.3617, allocations: 0.9731 MB / 0.5775 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3617, allocations: 11.94 kB / 0.5775 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3617, allocations: 3.984 kB / 0.5775 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.3617, allocations: 7.984 kB / 0.5775 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.366, allocations: 1.933 MB / 0.5794 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.366, allocations: 4 kB / 0.5794 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00731/0.3733, allocations: 1.287 MB / 0.5807 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.3733, allocations: 4 kB / 0.5807 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.3734, allocations: 19.98 kB / 0.5807 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3734, allocations: 4 kB / 0.5807 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3734, allocations: 0 / 0.5807 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/0.3777, allocations: 1.705 MB / 0.5824 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.3781, allocations: 119.6 kB / 0.5825 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.3783, allocations: 31.98 kB / 0.5825 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.379, allocations: 87.88 kB / 0.5826 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.3792, allocations: 95.83 kB / 0.5827 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.3793, allocations: 19.94 kB / 0.5827 GB, free: 10.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.3795, allocations: 247.1 kB / 0.583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 0 / 0.583 GB, free: 10.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006712/0.3802, allocations: 183.6 kB / 0.5831 GB, free: 10.34 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.0001779/0.3804, allocations: 131.1 kB / 0.5833 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007879/0.3883, allocations: 2.052 MB / 0.5853 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3883, allocations: 0 / 0.5853 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/0.3919, allocations: 0.9218 MB / 0.5862 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.3927, allocations: 107.3 kB / 0.5863 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.3966, allocations: 1.68 MB / 0.5879 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3969, allocations: 325.1 kB / 0.5882 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.3972, allocations: 47.44 kB / 0.5883 GB, free: 4.992 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3972, allocations: 0 / 0.5883 GB, free: 4.992 MB / 430.1 MB Notification: Performance of Templates: time 0.01586/0.4131, allocations: 11.38 MB / 0.5994 GB, free: 9.637 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: 9.558922211173922]