Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001399/0.001399, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001096/0.001096, allocations: 164.7 kB / 24.99 MB, free: 8.844 MB / 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2594/0.2594, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.325e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006089/0.006123, allocations: 6.574 MB / 376.2 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.008796, allocations: 1.858 MB / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.009095, allocations: 43.62 kB / 378.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.00998, allocations: 457.7 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.01054, allocations: 433.3 kB / 379 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.01115, allocations: 370.9 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.01195, allocations: 1.052 MB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.01241, allocations: 412.6 kB / 380.8 MB, free: 120 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.01305, allocations: 0.6193 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.01357, allocations: 0.5455 MB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.01364, allocations: 68 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.01399, allocations: 271.4 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.01425, allocations: 399 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01449, allocations: 295.3 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.01528, allocations: 0.8176 MB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01528, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01528, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.0153, allocations: 0 / 383.8 MB, free: 13.12 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001394/0.01669, allocations: 1.176 MB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01673, allocations: 15.98 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.01781, allocations: 244.1 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.01867, allocations: 0.5577 MB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.01871, allocations: 45.69 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.01885, allocations: 80.47 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.01985, allocations: 0.659 MB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01987, allocations: 3.984 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.01994, allocations: 31.98 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.02014, allocations: 69.95 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009243/0.02106, allocations: 443.5 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/0.02504, allocations: 2.991 MB / 390.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.02583, allocations: 388.5 kB / 390.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.02623, allocations: 203.8 kB / 390.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.02628, allocations: 20.44 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.02632, allocations: 45.89 kB / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 4.388e-06/0.02633, allocations: 0 / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.002619/0.02895, allocations: 1.434 MB / 392.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.029, allocations: 81.77 kB / 392.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.02934, allocations: 454.5 kB / 392.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.02938, allocations: 37.7 kB / 392.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.02958, allocations: 419.1 kB / 393.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.02974, allocations: 277.7 kB / 393.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.02989, allocations: 152.2 kB / 393.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.03006, allocations: 0.5508 MB / 394.1 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.03026, allocations: 133.9 kB / 394.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.03059, allocations: 411 kB / 394.6 MB, free: 1.797 MB / 362.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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.0317, allocations: 0.9146 MB / 395.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.0317, allocations: 4 kB / 395.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008142/0.03252, allocations: 0.6861 MB / 396.2 MB, free: 88 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.03254, allocations: 11.98 kB / 396.2 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.03255, allocations: 8 kB / 396.2 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.03267, allocations: 39.66 kB / 396.3 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.03309, allocations: 191.7 kB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008523/0.03395, allocations: 1.783 MB / 398.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.03415, allocations: 35.97 kB / 398.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.03419, allocations: 35.98 kB / 398.3 MB, free: 13.86 MB / 378.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[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.03437, allocations: 200.3 kB / 398.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.03448, allocations: 91.56 kB / 398.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.03515, allocations: 0.5621 MB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.03517, allocations: 15.98 kB / 399.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.03517, allocations: 3.938 kB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.03518, allocations: 3.984 kB / 399.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.03681, allocations: 1.475 MB / 400.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.03681, allocations: 4.562 kB / 400.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.03715, allocations: 151.8 kB / 400.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.648e-05/0.03722, allocations: 35.8 kB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.03725, allocations: 23.98 kB / 400.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/0.03794, allocations: 1.775 MB / 402.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03794, allocations: 4 kB / 402.7 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.03889, allocations: 1.026 MB / 403.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.03894, allocations: 59.56 kB / 403.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.03899, allocations: 27.92 kB / 403.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.03916, allocations: 31.97 kB / 403.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.03924, allocations: 64.28 kB / 403.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.03927, allocations: 27.98 kB / 403.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.03943, allocations: 283.1 kB / 404.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03943, allocations: 0 / 404.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000421/0.03986, allocations: 180 kB / 404.3 MB, free: 7.461 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],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 (75): * Single equations (assignments): 71 * Array equations: 2 * 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 {(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.0001902/0.04005, allocations: 163.1 kB / 404.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.04078, allocations: 0.6614 MB / 405.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.04078, allocations: 3.938 kB / 405.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.04112, allocations: 440.8 kB / 405.6 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.0416, allocations: 129.9 kB / 405.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.04366, allocations: 1.692 MB / 407.4 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.04381, allocations: 211.3 kB / 407.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.0441, allocations: 173.1 kB / 407.8 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.04422, allocations: 60.48 kB / 407.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.04423, allocations: 0 / 407.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of Templates: time 0.009772/0.054, allocations: 7.835 MB / 415.7 MB, free: 12.04 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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: 3.3612982069607824]