Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.0009837/0.0009837, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.00216, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000731/0.000731, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009829/0.001714, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0868/1.095, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.117/0.117, allocations: 29.45 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1207/0.2377, allocations: 9.529 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 1.188 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.642e-05, allocations: 4.141 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.01265/0.01268, allocations: 5.367 MB / 289.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.0186, allocations: 1.441 MB / 291 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.01925, allocations: 38.75 kB / 291.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.01972, allocations: 136.9 kB / 291.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009339/0.02066, allocations: 400.5 kB / 291.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.02431, allocations: 187.8 kB / 291.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.02567, allocations: 0.9397 MB / 292.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.02596, allocations: 176.6 kB / 292.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009278/0.02689, allocations: 0.6213 MB / 293.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.02742, allocations: 379.2 kB / 293.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.0275, allocations: 45.62 kB / 293.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.0276, allocations: 43.75 kB / 294 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.02779, allocations: 244.3 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.02798, allocations: 177.1 kB / 294.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.02848, allocations: 458.3 kB / 294.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.696e-05/0.0285, allocations: 0 / 294.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0285, allocations: 3.938 kB / 294.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.02852, allocations: 0 / 294.8 MB, free: 4.199 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001092/0.02961, allocations: 0.9452 MB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.02965, allocations: 12.03 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.02975, allocations: 80.88 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.03028, allocations: 455.1 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.03031, allocations: 41.12 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.03037, allocations: 55.92 kB / 296.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.03078, allocations: 414.7 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.0308, allocations: 4 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.03083, allocations: 20 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.03091, allocations: 21 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.03113, allocations: 169.6 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.03287, allocations: 1.57 MB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.03323, allocations: 303.2 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.03347, allocations: 184.9 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.03349, allocations: 8 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.03352, allocations: 42.52 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.894e-06/0.03352, allocations: 0 / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.001785/0.03531, allocations: 1.048 MB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.03534, allocations: 89.23 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.03555, allocations: 355.2 kB / 300.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.03558, allocations: 29.7 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.03568, allocations: 253.9 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/0.03576, allocations: 166.6 kB / 301.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.03586, allocations: 94.23 kB / 301.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.03598, allocations: 366.6 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.03605, allocations: 56.12 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.03618, allocations: 175.8 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.03665, allocations: 448.8 kB / 302.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.03665, allocations: 0 / 302.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003841/0.03703, allocations: 353.8 kB / 302.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.03705, allocations: 11.94 kB / 302.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.03706, allocations: 4 kB / 302.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.03729, allocations: 92.36 kB / 302.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.03755, allocations: 120 kB / 302.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.03907, allocations: 1.814 MB / 304.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.03921, allocations: 19.94 kB / 304.6 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.03923, allocations: 12 kB / 304.6 MB, free: 9.988 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.03937, allocations: 148.5 kB / 304.7 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.03942, allocations: 35.97 kB / 304.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.03981, allocations: 355.2 kB / 305.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.03981, allocations: 4 kB / 305.1 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.03981, allocations: 4 kB / 305.1 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.03982, allocations: 4.094 kB / 305.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.04069, allocations: 0.8401 MB / 306 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.04069, allocations: 0 / 306 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.04088, allocations: 79.89 kB / 306 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.04092, allocations: 47.61 kB / 306.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.04114, allocations: 110.5 kB / 306.2 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.04116, allocations: 11.94 kB / 306.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.04229, allocations: 1.821 MB / 308 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.0423, allocations: 4 kB / 308 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.04277, allocations: 0.556 MB / 308.6 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.04281, allocations: 16 kB / 308.6 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.04291, allocations: 19.92 kB / 308.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.04296, allocations: 35.94 kB / 308.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.04298, allocations: 19.92 kB / 308.7 MB, free: 5.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.276e-05/0.04307, allocations: 136.7 kB / 308.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04307, allocations: 0 / 308.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.04342, allocations: 148 kB / 309 MB, free: 5.398 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.04352, allocations: 92.34 kB / 309 MB, free: 5.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.04399, allocations: 426.3 kB / 309.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/0.044, allocations: 8 kB / 309.5 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.04429, allocations: 324.8 kB / 309.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.04468, allocations: 177.9 kB / 310 MB, free: 4.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.05139, allocations: 1.12 MB / 311.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.05178, allocations: 181.9 kB / 311.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.05199, allocations: 60.67 kB / 311.3 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.05219, allocations: 149.3 kB / 311.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of SimCode: time 1.643e-06/0.05219, allocations: 0 / 311.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01014/0.06234, allocations: 7.387 MB / 318.8 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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: 2.9505994161590934]