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.0009415/0.0009415, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002303, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001179/0.001179, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.00264, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9569/0.9569, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08374/1.041, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1443/0.1443, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1116/0.2559, allocations: 9.539 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.375e-06/2.375e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.329e-05, allocations: 3.516 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008273/0.008297, allocations: 5.912 MB / 290.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.01204, allocations: 1.92 MB / 292.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.01246, allocations: 37.56 kB / 292.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.01343, allocations: 412.7 kB / 292.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.01431, allocations: 442 kB / 293.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.01528, allocations: 361.2 kB / 293.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.01648, allocations: 1.075 MB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.01706, allocations: 413.4 kB / 295 MB, free: 4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.0181, allocations: 0.701 MB / 295.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.01879, allocations: 0.5104 MB / 296.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.01889, allocations: 64 kB / 296.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.01952, allocations: 267.5 kB / 296.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.01997, allocations: 343.2 kB / 296.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.02035, allocations: 235.5 kB / 297.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.02127, allocations: 0.7513 MB / 297.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.02128, allocations: 0 / 297.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.02128, allocations: 0 / 297.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.02129, allocations: 0 / 297.8 MB, free: 1.297 MB / 282.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.001278/0.02257, allocations: 1.148 MB / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.0226, allocations: 16.03 kB / 299 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.0232, allocations: 257.8 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.02374, allocations: 491 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.02378, allocations: 53.67 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.0239, allocations: 76.5 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.02447, allocations: 0.5988 MB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.02448, allocations: 3.984 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.02452, allocations: 27.98 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.02463, allocations: 65.89 kB / 300.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.02501, allocations: 332.5 kB / 300.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.02731, allocations: 2.332 MB / 303.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.02771, allocations: 350.2 kB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.02789, allocations: 151.6 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.02792, allocations: 16.47 kB / 303.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.02795, allocations: 39.06 kB / 303.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.02795, allocations: 4 kB / 303.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001457/0.02941, allocations: 1.017 MB / 304.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.02945, allocations: 85.89 kB / 304.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.02968, allocations: 391 kB / 305.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.02972, allocations: 37.64 kB / 305.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.02984, allocations: 321.4 kB / 305.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.02997, allocations: 273.6 kB / 305.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.03009, allocations: 142.5 kB / 306 MB, free: 8.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.03019, allocations: 378.6 kB / 306.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.0303, allocations: 96.78 kB / 306.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.03048, allocations: 279.1 kB / 306.7 MB, free: 7.992 MB / 298.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.0006857/0.03117, allocations: 0.737 MB / 307.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.03117, allocations: 0 / 307.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005478/0.03172, allocations: 482.8 kB / 307.9 MB, free: 6.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.03175, allocations: 12.16 kB / 308 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.03176, allocations: 8 kB / 308 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.03188, allocations: 32.83 kB / 308 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.03233, allocations: 203.7 kB / 308.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006468/0.03298, allocations: 1.23 MB / 309.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.03316, allocations: 24 kB / 309.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.0332, allocations: 24 kB / 309.5 MB, free: 5.07 MB / 298.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.0001578/0.03336, allocations: 168.5 kB / 309.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.03345, allocations: 59.95 kB / 309.7 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.03389, allocations: 432.8 kB / 310.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.03391, allocations: 12 kB / 310.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.03391, allocations: 0 / 310.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.03392, allocations: 3.984 kB / 310.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.03512, allocations: 1.16 MB / 311.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.03513, allocations: 8 kB / 311.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.0355, allocations: 166.7 kB / 311.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.03555, allocations: 59.56 kB / 311.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.722e-05/0.0356, allocations: 32.78 kB / 311.6 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.03564, allocations: 23.98 kB / 311.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005355/0.03617, allocations: 1.229 MB / 312.8 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.03618, allocations: 11.94 kB / 312.8 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.03685, allocations: 0.7831 MB / 313.6 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.0369, allocations: 23.98 kB / 313.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.03705, allocations: 16 kB / 313.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.03712, allocations: 64.28 kB / 313.7 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.03714, allocations: 23.94 kB / 313.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.03725, allocations: 152.7 kB / 313.9 MB, free: 376 kB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03725, allocations: 0 / 313.9 MB, free: 376 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.03764, allocations: 191.9 kB / 314.1 MB, free: 184 kB / 298.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.0001855/0.03783, allocations: 136.1 kB / 314.2 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.03836, allocations: 0.5174 MB / 314.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/0.03838, allocations: 11.98 kB / 314.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.03869, allocations: 394.2 kB / 315.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.03946, allocations: 1.065 MB / 316.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.0479, allocations: 1.555 MB / 317.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.04805, allocations: 215.3 kB / 317.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.04826, allocations: 93.31 kB / 318 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.04851, allocations: 173.3 kB / 318.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04851, allocations: 3.938 kB / 318.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of Templates: time 0.01008/0.05859, allocations: 8.44 MB / 326.6 MB, free: 3.402 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.886754804290831]