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.0007323/0.0007323, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009004/0.0009004, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8975/0.8975, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2283/0.2283, allocations: 29.41 MB / 290.1 MB, free: 2.449 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.665e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008099/0.008125, allocations: 6.191 MB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.01097, allocations: 1.807 MB / 438.2 MB, free: 5.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.01141, allocations: 43.62 kB / 438.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.0123, allocations: 433.7 kB / 438.7 MB, free: 5.125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.01302, allocations: 433.4 kB / 439.1 MB, free: 4.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.01378, allocations: 374.9 kB / 439.5 MB, free: 4.332 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.01467, allocations: 1.051 MB / 440.5 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.01519, allocations: 424.5 kB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007574/0.01595, allocations: 0.6076 MB / 441.5 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.01659, allocations: 0.5455 MB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.071e-05/0.01668, allocations: 68 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.01712, allocations: 267.5 kB / 442.4 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.01739, allocations: 402.9 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.01763, allocations: 291.3 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2083/0.226, allocations: 1.084 MB / 444.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.226, allocations: 0.5625 kB / 444.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.226, allocations: 0 / 444.2 MB, free: 45.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.215e-05/0.226, allocations: 0 / 444.2 MB, free: 45.28 MB / 410.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.001755/0.2278, allocations: 1.067 MB / 445.2 MB, free: 44.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2278, allocations: 13.11 kB / 445.3 MB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.82e-05/0.2279, allocations: 118.5 kB / 445.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.2285, allocations: 165.8 kB / 445.5 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.2292, allocations: 0.5394 MB / 446.1 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.2292, allocations: 52.12 kB / 446.1 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2293, allocations: 70.53 kB / 446.2 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009521/0.2303, allocations: 1.011 MB / 447.2 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2303, allocations: 11.38 kB / 447.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.2304, allocations: 25.31 kB / 447.2 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.2305, allocations: 72.66 kB / 447.3 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.2314, allocations: 0.9699 MB / 448.3 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.2345, allocations: 3.048 MB / 451.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.2352, allocations: 0.629 MB / 452 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.2356, allocations: 391.7 kB / 452.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.2356, allocations: 7.125 kB / 452.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2356, allocations: 38.16 kB / 452.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 3.566e-06/0.2356, allocations: 0 / 452.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.002435/0.2381, allocations: 2.229 MB / 454.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2381, allocations: 87.91 kB / 454.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.2384, allocations: 452.6 kB / 455.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2384, allocations: 36.89 kB / 455.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2386, allocations: 368.8 kB / 455.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.2387, allocations: 271.3 kB / 455.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2388, allocations: 149.1 kB / 455.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.2388, allocations: 375.7 kB / 456.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.2391, allocations: 344.4 kB / 456.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2395, allocations: 0.517 MB / 457.2 MB, free: 40.43 MB / 410.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.002708/0.2422, allocations: 2.158 MB / 459.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2422, allocations: 3.031 kB / 459.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009241/0.2431, allocations: 1.027 MB / 460.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2432, allocations: 6 kB / 460.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2432, allocations: 9.422 kB / 460.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.2433, allocations: 37.44 kB / 460.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.2437, allocations: 193.4 kB / 460.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000727/0.2444, allocations: 1.4 MB / 462 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2447, allocations: 39.05 kB / 462 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.2447, allocations: 33.38 kB / 462.1 MB, free: 37.93 MB / 410.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.0003524/0.2451, allocations: 279.5 kB / 462.3 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/0.2452, allocations: 64.66 kB / 462.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008394/0.246, allocations: 0.8986 MB / 463.3 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.246, allocations: 12.72 kB / 463.3 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.246, allocations: 3.375 kB / 463.3 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.246, allocations: 3.328 kB / 463.3 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.2479, allocations: 1.853 MB / 465.2 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.2479, allocations: 3.25 kB / 465.2 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.2482, allocations: 151.1 kB / 465.3 MB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.73e-05/0.2483, allocations: 38.48 kB / 465.4 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2483, allocations: 24 kB / 465.4 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/0.2488, allocations: 1.387 MB / 466.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2488, allocations: 13.59 kB / 466.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2499, allocations: 1.439 MB / 468.2 MB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.25, allocations: 71.25 kB / 468.3 MB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.25, allocations: 27.41 kB / 468.3 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2502, allocations: 29.89 kB / 468.4 MB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.2502, allocations: 63.58 kB / 468.4 MB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.2503, allocations: 29.77 kB / 468.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.2505, allocations: 302.3 kB / 468.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2505, allocations: 0 / 468.7 MB, free: 34.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004959/0.251, allocations: 182.3 kB / 468.9 MB, free: 34.16 MB / 410.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.001389/0.2524, allocations: 2.043 MB / 471 MB, free: 32.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.2535, allocations: 0.9145 MB / 471.9 MB, free: 32.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2535, allocations: 0 / 471.9 MB, free: 32.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.2539, allocations: 498.1 kB / 472.4 MB, free: 32.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2544, allocations: 140.2 kB / 472.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.2604, allocations: 6.774 MB / 479.3 MB, free: 28.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.2608, allocations: 415.6 kB / 479.7 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.2613, allocations: 211.1 kB / 479.9 MB, free: 28.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.2616, allocations: 277.5 kB / 480.2 MB, free: 28.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2616, allocations: 0 / 480.2 MB, free: 28.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.3015, allocations: 15.77 MB / 495.9 MB, free: 26.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.451, allocations: 12.05 kB / 495.9 MB, free: 26.21 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] 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: 9.395237375982106]