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.00135/0.00135, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001112/0.001112, allocations: 166.7 kB / 25.61 MB, free: 8.578 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 0.946/0.946, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1162/0.1162, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.623e-06/1.623e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.736e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004081/0.004098, allocations: 5.284 MB / 376.2 MB, free: 27.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005715, allocations: 1.391 MB / 377.6 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.006041, allocations: 39.62 kB / 377.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.006441, allocations: 127 kB / 377.7 MB, free: 25.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.006924, allocations: 393.6 kB / 378.1 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.007231, allocations: 211.5 kB / 378.3 MB, free: 24.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.007727, allocations: 0.9497 MB / 379.3 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.007925, allocations: 171.2 kB / 379.4 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.00841, allocations: 0.5922 MB / 380 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.008743, allocations: 410.9 kB / 380.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.008789, allocations: 44 kB / 380.5 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.008851, allocations: 44 kB / 380.5 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.008994, allocations: 287.2 kB / 380.8 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.009129, allocations: 211.5 kB / 381 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.00947, allocations: 490.2 kB / 381.5 MB, free: 21.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.009472, allocations: 0 / 381.5 MB, free: 21.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009472, allocations: 0 / 381.5 MB, free: 21.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.009478, allocations: 0 / 381.5 MB, free: 21.69 MB / 314.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.0008075/0.01029, allocations: 0.9642 MB / 382.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.01031, allocations: 8.031 kB / 382.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.01041, allocations: 108.5 kB / 382.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.01079, allocations: 474 kB / 383 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.01081, allocations: 37.38 kB / 383 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.01086, allocations: 48.38 kB / 383.1 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.01118, allocations: 437.5 kB / 383.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01119, allocations: 3.938 kB / 383.5 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.01122, allocations: 16 kB / 383.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.01128, allocations: 28.98 kB / 383.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.01146, allocations: 186.7 kB / 383.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.0127, allocations: 2.041 MB / 385.8 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.01299, allocations: 294.8 kB / 386.1 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.01323, allocations: 196 kB / 386.3 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01325, allocations: 11.95 kB / 386.3 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.01328, allocations: 45.33 kB / 386.3 MB, free: 16.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.01328, allocations: 0 / 386.3 MB, free: 16.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001567/0.01485, allocations: 0.8983 MB / 387.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.01487, allocations: 89.08 kB / 387.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.0151, allocations: 422.4 kB / 387.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01512, allocations: 37.7 kB / 387.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01524, allocations: 351.6 kB / 388.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.01532, allocations: 170.6 kB / 388.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.01543, allocations: 107.9 kB / 388.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.01551, allocations: 0.539 MB / 388.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.0156, allocations: 61.25 kB / 389 MB, free: 13.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.01574, allocations: 237.9 kB / 389.2 MB, free: 13.54 MB / 314.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.0005519/0.0163, allocations: 0.4892 MB / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0163, allocations: 0 / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005415/0.01684, allocations: 452.6 kB / 390.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01685, allocations: 11.98 kB / 390.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.01686, allocations: 0 / 390.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.01711, allocations: 99.73 kB / 390.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.01738, allocations: 95.88 kB / 390.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.01866, allocations: 2.4 MB / 392.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.01883, allocations: 16 kB / 392.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.01885, allocations: 19.94 kB / 392.8 MB, free: 9.777 MB / 314.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.0001248/0.01898, allocations: 184.5 kB / 393 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.01905, allocations: 67.61 kB / 393 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.01954, allocations: 402.3 kB / 393.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01955, allocations: 4 kB / 393.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01955, allocations: 4 kB / 393.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01956, allocations: 0 / 393.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.02062, allocations: 0.9439 MB / 394.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02062, allocations: 4 kB / 394.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.02084, allocations: 67.91 kB / 394.4 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.02109, allocations: 114.6 kB / 394.6 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.02112, allocations: 15.98 kB / 394.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.02233, allocations: 2.394 MB / 397 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02233, allocations: 0 / 397 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.02294, allocations: 0.6587 MB / 397.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.02299, allocations: 39.67 kB / 397.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.02303, allocations: 23.94 kB / 397.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.02319, allocations: 8 kB / 397.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.02324, allocations: 39.92 kB / 397.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.02327, allocations: 11.98 kB / 397.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.02339, allocations: 267 kB / 398 MB, free: 4.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02339, allocations: 0 / 398 MB, free: 4.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.02388, allocations: 144 kB / 398.1 MB, free: 4.172 MB / 314.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 0.0001099/0.02399, allocations: 107.2 kB / 398.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.02455, allocations: 0.5012 MB / 398.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02455, allocations: 4.875 kB / 398.8 MB, free: 3.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.02487, allocations: 393.8 kB / 399.1 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.02542, allocations: 135.5 kB / 399.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.02703, allocations: 1.129 MB / 400.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.02714, allocations: 185.9 kB / 400.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.02732, allocations: 64.66 kB / 400.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.02753, allocations: 178.1 kB / 400.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02753, allocations: 0 / 400.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of Templates: time 0.01154/0.03907, allocations: 7.322 MB / 408.1 MB, free: 10.18 MB / 330.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.36457402119413]