Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0006211/0.0006211, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008161/0.001437, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006752/0.0006752, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008269/0.001502, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8573/0.8573, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07238/0.9297, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1132/0.1132, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/0.2144, allocations: 9.518 MB / 282.9 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.848e-06/1.12e-05, allocations: 5.406 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006996/0.007008, allocations: 5.877 MB / 290.1 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.01041, allocations: 1.919 MB / 292 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.01072, allocations: 37.56 kB / 292 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.0114, allocations: 227.9 kB / 292.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007841/0.01219, allocations: 443.7 kB / 292.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.01301, allocations: 362.1 kB / 293.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.01413, allocations: 1.081 MB / 294.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.01482, allocations: 408 kB / 294.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009785/0.0158, allocations: 0.7052 MB / 295.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.01647, allocations: 0.5143 MB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.01658, allocations: 64 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.01709, allocations: 267.5 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.01742, allocations: 347.2 kB / 296.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.01775, allocations: 243.4 kB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.01866, allocations: 0.7358 MB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.01867, allocations: 0 / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01867, allocations: 0 / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.0187, allocations: 4 kB / 297.4 MB, free: 1.559 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.00197/0.02067, allocations: 1.156 MB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.0207, allocations: 8.031 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.02151, allocations: 257.8 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.02227, allocations: 495 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.02232, allocations: 53.67 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.02247, allocations: 76.48 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.02332, allocations: 0.5949 MB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.02335, allocations: 3.938 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.02341, allocations: 27.98 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.02356, allocations: 61.97 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.02422, allocations: 324.5 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.02764, allocations: 2.34 MB / 302.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.02811, allocations: 345.6 kB / 303.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.02829, allocations: 154.3 kB / 303.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.02832, allocations: 16.44 kB / 303.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.02835, allocations: 39.06 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.02835, allocations: 4 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.001324/0.02967, allocations: 0.9861 MB / 304.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.02972, allocations: 93.73 kB / 304.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.02993, allocations: 391 kB / 304.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.02996, allocations: 37.7 kB / 304.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.03007, allocations: 325.4 kB / 305.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.03019, allocations: 265.7 kB / 305.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.03031, allocations: 142.5 kB / 305.5 MB, free: 9.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.0304, allocations: 370.7 kB / 305.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.03052, allocations: 104.8 kB / 306 MB, free: 8.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.0307, allocations: 275.1 kB / 306.3 MB, free: 8.297 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.0006612/0.03136, allocations: 0.7136 MB / 307 MB, free: 7.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.03137, allocations: 4 kB / 307 MB, free: 7.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0004908/0.03186, allocations: 494.8 kB / 307.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.03187, allocations: 4 kB / 307.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.03188, allocations: 8 kB / 307.5 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.228e-05/0.03196, allocations: 32.83 kB / 307.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.0324, allocations: 203.7 kB / 307.7 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005707/0.03297, allocations: 1.234 MB / 308.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.03313, allocations: 23.94 kB / 309 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.03317, allocations: 23.98 kB / 309 MB, free: 5.391 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.0001437/0.03331, allocations: 156.5 kB / 309.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.0334, allocations: 67.88 kB / 309.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.03386, allocations: 424.8 kB / 309.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.03388, allocations: 20 kB / 309.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.03388, allocations: 3.984 kB / 309.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.03389, allocations: 144 / 309.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.03504, allocations: 1.152 MB / 310.8 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.03505, allocations: 4.062 kB / 310.8 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.03541, allocations: 180.3 kB / 311 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.03546, allocations: 67.48 kB / 311 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-05/0.03551, allocations: 32.78 kB / 311.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.03554, allocations: 20 kB / 311.1 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000505/0.03605, allocations: 1.229 MB / 312.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.03605, allocations: 7.938 kB / 312.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.03666, allocations: 0.7752 MB / 313.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.03671, allocations: 16 kB / 313.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.03686, allocations: 16 kB / 313.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.03691, allocations: 72.23 kB / 313.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.03694, allocations: 23.94 kB / 313.2 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.221e-05/0.03703, allocations: 152.7 kB / 313.4 MB, free: 0.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03703, allocations: 0 / 313.4 MB, free: 0.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.03739, allocations: 187.9 kB / 313.6 MB, free: 0.5234 MB / 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.0001672/0.03756, allocations: 142.5 kB / 313.7 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.03807, allocations: 0.5163 MB / 314.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.03809, allocations: 8 kB / 314.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.03833, allocations: 340.5 kB / 314.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.03879, allocations: 203 kB / 314.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.04715, allocations: 1.553 MB / 316.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.04731, allocations: 223.3 kB / 316.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.04753, allocations: 98.61 kB / 316.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.04778, allocations: 177.2 kB / 316.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04778, allocations: 4 kB / 316.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of Templates: time 0.01006/0.05784, allocations: 8.64 MB / 325.4 MB, free: 4.629 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.630964180454612]