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.001838/0.001838, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002773/0.002773, allocations: 169.3 kB / 24.28 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.612/1.612, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3209/0.3209, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|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.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.111e-05, allocations: 2.875 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009738/0.009769, allocations: 6.511 MB / 375.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.01375, allocations: 1.85 MB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.01416, allocations: 43.62 kB / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.01565, allocations: 449.8 kB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.01666, allocations: 437.3 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.01767, allocations: 366.9 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01891, allocations: 1.055 MB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.01958, allocations: 412.6 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.02077, allocations: 0.6193 MB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.02164, allocations: 0.5533 MB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.02177, allocations: 64 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.02238, allocations: 267.5 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.02283, allocations: 399 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.02325, allocations: 291.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.0248, allocations: 1.094 MB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.0248, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02481, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.02482, allocations: 0 / 383.2 MB, free: 12.91 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.002501/0.02732, allocations: 1.222 MB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.02736, allocations: 15.98 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.02837, allocations: 228.2 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.02965, allocations: 0.5654 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.02971, allocations: 53.67 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.02989, allocations: 76.48 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.03123, allocations: 0.7332 MB / 386.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.03126, allocations: 0 / 386.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.03133, allocations: 31.94 kB / 386.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.03155, allocations: 69.95 kB / 386.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.03267, allocations: 0.5113 MB / 386.7 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.03843, allocations: 3.176 MB / 389.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009074/0.03934, allocations: 409.9 kB / 390.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.03981, allocations: 217.1 kB / 390.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.03987, allocations: 16.48 kB / 390.5 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.03991, allocations: 41.89 kB / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.03992, allocations: 0 / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.00334/0.04326, allocations: 1.504 MB / 392.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.04333, allocations: 81.77 kB / 392.2 MB, free: 3.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.04396, allocations: 0.5259 MB / 392.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.04401, allocations: 33.7 kB / 392.7 MB, free: 3.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.04436, allocations: 439.2 kB / 393.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.04464, allocations: 297.6 kB / 393.4 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.04493, allocations: 172.4 kB / 393.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/0.0453, allocations: 0.5782 MB / 394.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.04592, allocations: 157.9 kB / 394.3 MB, free: 1.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.04654, allocations: 443 kB / 394.8 MB, free: 0.8867 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.00475/0.05129, allocations: 1.506 MB / 396.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.0513, allocations: 0 / 396.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001433/0.05273, allocations: 0.7133 MB / 397 MB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.05276, allocations: 11.98 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.05277, allocations: 4 kB / 397 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.05294, allocations: 35.67 kB / 397 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.05373, allocations: 196.1 kB / 397.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.05532, allocations: 1.81 MB / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.05573, allocations: 35.97 kB / 399.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.05581, allocations: 31.98 kB / 399.1 MB, free: 12.31 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.0003345/0.05615, allocations: 228.3 kB / 399.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.05633, allocations: 95.59 kB / 399.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.05761, allocations: 0.5894 MB / 400 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.05764, allocations: 12 kB / 400 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.05764, allocations: 4 kB / 400 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.05765, allocations: 3.984 kB / 400 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.06113, allocations: 1.605 MB / 401.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.06115, allocations: 8 kB / 401.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.06183, allocations: 147.7 kB / 401.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.06195, allocations: 39.66 kB / 401.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.062, allocations: 20 kB / 401.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.06346, allocations: 1.807 MB / 403.7 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.06347, allocations: 11.94 kB / 403.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.06519, allocations: 1.069 MB / 404.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.06532, allocations: 67.56 kB / 404.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.06541, allocations: 31.89 kB / 404.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.06576, allocations: 35.97 kB / 404.9 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.06587, allocations: 60.28 kB / 404.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.06592, allocations: 24 kB / 405 MB, free: 6.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003671/0.06629, allocations: 323 kB / 405.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06629, allocations: 0 / 405.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007049/0.067, allocations: 191.9 kB / 405.5 MB, free: 5.586 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.0002905/0.06729, allocations: 159 kB / 405.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.06865, allocations: 0.7058 MB / 406.3 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.06865, allocations: 0 / 406.3 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.06934, allocations: 470.2 kB / 406.8 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.07015, allocations: 145.2 kB / 406.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.07333, allocations: 1.7 MB / 408.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.07382, allocations: 392.2 kB / 409 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004998/0.07432, allocations: 173.1 kB / 409.2 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.0745, allocations: 56.48 kB / 409.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.07451, allocations: 0 / 409.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01659/0.0911, allocations: 7.825 MB / 417 MB, free: 9.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.106223771930672]