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.001185/0.001185, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001284/0.001284, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2518/0.2518, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.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 2.705e-06/2.705e-06, allocations: 4 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.787e-05, allocations: 6.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005767/0.005785, allocations: 5.76 MB / 375.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.008152, allocations: 1.842 MB / 377.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.008445, allocations: 39.62 kB / 377.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007579/0.009203, allocations: 350.1 kB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.009694, allocations: 425.4 kB / 378.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.01025, allocations: 363 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.01098, allocations: 1.051 MB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.01176, allocations: 420.6 kB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.01242, allocations: 0.6702 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.01288, allocations: 0.5104 MB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.01295, allocations: 64 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.01329, allocations: 267.4 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.01356, allocations: 399 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.01377, allocations: 295.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.01449, allocations: 0.8098 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.0145, allocations: 0 / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.0145, allocations: 4 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.01451, allocations: 0 / 383.3 MB, free: 13.47 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.001309/0.01582, allocations: 1.117 MB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.01587, allocations: 15.98 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.01643, allocations: 220.2 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.01698, allocations: 0.5056 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.01701, allocations: 49.69 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.01714, allocations: 76.47 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.01781, allocations: 0.6081 MB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.01783, allocations: 4 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.01788, allocations: 27.98 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.01799, allocations: 73.95 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.01844, allocations: 349.5 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.02142, allocations: 2.924 MB / 389.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.02185, allocations: 337.9 kB / 389.6 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.02205, allocations: 169.1 kB / 389.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.02209, allocations: 24.42 kB / 389.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.02212, allocations: 45.88 kB / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.02212, allocations: 0 / 389.8 MB, free: 6.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001594/0.02371, allocations: 1.111 MB / 391 MB, free: 5.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.02376, allocations: 89.75 kB / 391 MB, free: 5.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.02403, allocations: 454.2 kB / 391.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.02407, allocations: 33.7 kB / 391.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.02427, allocations: 431 kB / 391.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.02443, allocations: 269.7 kB / 392.2 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.02457, allocations: 156.2 kB / 392.4 MB, free: 4.078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.02475, allocations: 0.5585 MB / 392.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.02487, allocations: 101.9 kB / 393 MB, free: 3.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.02513, allocations: 374.9 kB / 393.4 MB, free: 2.941 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.00118/0.02631, allocations: 0.8013 MB / 394.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02631, allocations: 0 / 394.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006626/0.02698, allocations: 0.6158 MB / 394.8 MB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.027, allocations: 10.34 kB / 394.8 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.02701, allocations: 8 kB / 394.8 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.02712, allocations: 35.66 kB / 394.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.02749, allocations: 167.7 kB / 395 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008391/0.02833, allocations: 1.764 MB / 396.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.0285, allocations: 23.94 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.02855, allocations: 31.98 kB / 396.8 MB, free: 15.26 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.0001858/0.02873, allocations: 204.5 kB / 397 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.02885, allocations: 87.61 kB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.02942, allocations: 0.5035 MB / 397.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.02944, allocations: 16 kB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.02944, allocations: 7.922 kB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02945, allocations: 0 / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.03084, allocations: 1.377 MB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.03085, allocations: 4.562 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.03115, allocations: 139.8 kB / 399.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.486e-05/0.03121, allocations: 31.67 kB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.03124, allocations: 27.98 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006805/0.03193, allocations: 1.752 MB / 401 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.03193, allocations: 8 kB / 401 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.03294, allocations: 0.9318 MB / 401.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.03299, allocations: 63.55 kB / 402 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.03304, allocations: 24 kB / 402 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.03319, allocations: 16 kB / 402 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.03325, allocations: 68.2 kB / 402.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.03327, allocations: 20 kB / 402.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.0334, allocations: 271 kB / 402.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0334, allocations: 0 / 402.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.0338, allocations: 191.9 kB / 402.6 MB, free: 9.176 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.0001759/0.03397, allocations: 154.9 kB / 402.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.03453, allocations: 0.6143 MB / 403.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03453, allocations: 3.938 kB / 403.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.0348, allocations: 412.7 kB / 403.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.03529, allocations: 141.9 kB / 403.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.03712, allocations: 1.661 MB / 405.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.03727, allocations: 223.3 kB / 405.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.03748, allocations: 93.25 kB / 405.8 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.03774, allocations: 206.1 kB / 406 MB, free: 5.504 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03774, allocations: 0 / 406 MB, free: 5.504 MB / 378.7 MB Notification: Performance of Templates: time 0.01038/0.04812, allocations: 8.379 MB / 414.4 MB, free: 13.24 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.283686245791614]