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.000965/0.000965, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009887/0.0009887, allocations: 161 kB / 24.56 MB, free: 16 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.021/1.021, allocations: 177.1 MB / 205 MB, free: 5.609 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.2449/0.2449, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,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.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.923e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007464/0.007494, allocations: 5.334 MB / 375 MB, free: 5.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.01031, allocations: 1.402 MB / 376.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.01067, allocations: 35.69 kB / 376.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.01122, allocations: 134.9 kB / 376.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008635/0.01208, allocations: 381.8 kB / 376.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.01262, allocations: 203.5 kB / 377.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01369, allocations: 0.9459 MB / 378 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.01405, allocations: 163.2 kB / 378.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.01495, allocations: 0.5298 MB / 378.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00073/0.01568, allocations: 442.8 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01579, allocations: 48 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.01592, allocations: 55.94 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.0162, allocations: 283.2 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.01646, allocations: 219.5 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.01709, allocations: 0.4904 MB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01709, allocations: 0 / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0171, allocations: 4 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.01711, allocations: 0 / 380.3 MB, free: 344 kB / 346.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.001627/0.01873, allocations: 0.9921 MB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.01878, allocations: 11.98 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.01898, allocations: 108.5 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.01994, allocations: 0.5068 MB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.01998, allocations: 37.38 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.83e-05/0.02008, allocations: 48.38 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.02089, allocations: 469.6 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.02091, allocations: 4 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.02096, allocations: 16 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.02108, allocations: 36.97 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.02164, allocations: 229.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.02448, allocations: 2.169 MB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.02505, allocations: 332.9 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.02539, allocations: 216 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.02542, allocations: 11.95 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.02545, allocations: 41.39 kB / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.02545, allocations: 0 / 385.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001783/0.02723, allocations: 1.162 MB / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.02727, allocations: 93.05 kB / 386.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.02755, allocations: 426.6 kB / 387.1 MB, free: 9.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.02757, allocations: 29.7 kB / 387.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.02772, allocations: 351.7 kB / 387.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.02782, allocations: 178.5 kB / 387.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.02792, allocations: 96 kB / 387.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.02807, allocations: 0.5431 MB / 388.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.02821, allocations: 81.25 kB / 388.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.0284, allocations: 246 kB / 388.6 MB, free: 7.543 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.02911, allocations: 0.5594 MB / 389.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.02911, allocations: 0 / 389.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005518/0.02966, allocations: 0.4886 MB / 389.7 MB, free: 6.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.02968, allocations: 11.94 kB / 389.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.02968, allocations: 4 kB / 389.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.02994, allocations: 104 kB / 389.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.03018, allocations: 107.8 kB / 389.9 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.03181, allocations: 2.477 MB / 392.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.03194, allocations: 31.92 kB / 392.4 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.03197, allocations: 20 kB / 392.4 MB, free: 3.547 MB / 362.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: 16 * 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 (54): * Single equations (assignments): 53 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.03209, allocations: 188.5 kB / 392.6 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.03215, allocations: 67.7 kB / 392.7 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.03268, allocations: 454.1 kB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.03268, allocations: 4 kB / 393.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03269, allocations: 4 kB / 393.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.03269, allocations: 4.031 kB / 393.1 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.03375, allocations: 0.9912 MB / 394.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.03375, allocations: 0 / 394.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.03393, allocations: 75.89 kB / 394.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.03417, allocations: 114.8 kB / 394.3 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.03419, allocations: 12 kB / 394.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.03587, allocations: 2.462 MB / 396.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.03587, allocations: 7.938 kB / 396.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.03654, allocations: 0.7057 MB / 397.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.03658, allocations: 47.67 kB / 397.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.03661, allocations: 15.98 kB / 397.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.03673, allocations: 19.98 kB / 397.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.03678, allocations: 47.8 kB / 397.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.0368, allocations: 12 kB / 397.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.03696, allocations: 275.1 kB / 397.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03696, allocations: 0 / 397.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.03731, allocations: 148 kB / 398 MB, free: 13.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 39 * 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 9.498e-05/0.03741, allocations: 111.1 kB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.038, allocations: 0.5407 MB / 398.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.03801, allocations: 0 / 398.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.03835, allocations: 417.5 kB / 399.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.03879, allocations: 122.2 kB / 399.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.04039, allocations: 1.153 MB / 400.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.0405, allocations: 174 kB / 400.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.04067, allocations: 88.61 kB / 400.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.04075, allocations: 36.5 kB / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04075, allocations: 0 / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00865/0.0494, allocations: 6.773 MB / 407.4 MB, free: 4.25 MB / 378.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 -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: 3.473655237816274]