Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0006887/0.0006887, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008993/0.001588, 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.0006984/0.0006984, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009127/0.001611, 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.9141/0.9141, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08072/0.9948, allocations: 53.64 MB / 243.2 MB, free: 15.59 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.1616/0.1616, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1239/0.2855, allocations: 9.518 MB / 282.9 MB, free: 12.84 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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.431e-05, allocations: 3.297 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.004745/0.004759, allocations: 5.367 MB / 289.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.006603, allocations: 1.448 MB / 291 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.006857, allocations: 36.19 kB / 291.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.007148, allocations: 135.5 kB / 291.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.007647, allocations: 397.1 kB / 291.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.007988, allocations: 187.3 kB / 291.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.008769, allocations: 0.9442 MB / 292.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.009008, allocations: 180.1 kB / 292.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.009755, allocations: 0.6064 MB / 293.5 MB, free: 5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.01025, allocations: 386.7 kB / 293.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.01033, allocations: 44.88 kB / 293.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.01045, allocations: 44.88 kB / 294 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.01064, allocations: 243.4 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01082, allocations: 177.7 kB / 294.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.01124, allocations: 458.2 kB / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.01125, allocations: 4 kB / 294.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01125, allocations: 0 / 294.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.01127, allocations: 0 / 294.8 MB, free: 4.145 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009859/0.01226, allocations: 0.9491 MB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.01228, allocations: 12.03 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.01239, allocations: 76.88 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.01284, allocations: 455.1 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.01286, allocations: 41.12 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.01291, allocations: 52 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.0133, allocations: 414.7 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01331, allocations: 4 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.01334, allocations: 16 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.01341, allocations: 24.98 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.01362, allocations: 169.6 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01501, allocations: 1.57 MB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.01536, allocations: 305.6 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.0156, allocations: 178.3 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01562, allocations: 12 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01565, allocations: 46.52 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/0.01565, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.001757/0.0174, allocations: 1.044 MB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.01744, allocations: 89.11 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01763, allocations: 359.3 kB / 300.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01766, allocations: 33.7 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.01776, allocations: 253.9 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.01784, allocations: 166.6 kB / 301 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.01792, allocations: 86.27 kB / 301.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.01802, allocations: 370.6 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.01809, allocations: 60.11 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01821, allocations: 179.8 kB / 301.7 MB, free: 12.93 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.01867, allocations: 440.9 kB / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01868, allocations: 0 / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000385/0.01906, allocations: 350.1 kB / 302.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01908, allocations: 15.94 kB / 302.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01908, allocations: 4 kB / 302.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.01929, allocations: 85.42 kB / 302.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.01955, allocations: 123.8 kB / 302.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.02077, allocations: 1.814 MB / 304.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.02089, allocations: 19.94 kB / 304.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.02092, allocations: 15.98 kB / 304.6 MB, free: 9.934 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (53): * Single equations (assignments): 52 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.02104, allocations: 148.5 kB / 304.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.02109, allocations: 40 kB / 304.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.02148, allocations: 351.2 kB / 305.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.02148, allocations: 12 kB / 305.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.02148, allocations: 0 / 305.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02149, allocations: 0 / 305.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.02232, allocations: 0.8363 MB / 305.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.02232, allocations: 3.984 kB / 305.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.0225, allocations: 75.91 kB / 306 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.02254, allocations: 51.59 kB / 306.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.02275, allocations: 107.5 kB / 306.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.02278, allocations: 19.92 kB / 306.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.0239, allocations: 1.813 MB / 308 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.0239, allocations: 4 kB / 308 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.02439, allocations: 0.5639 MB / 308.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.02442, allocations: 12 kB / 308.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02453, allocations: 11.94 kB / 308.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.02457, allocations: 51.86 kB / 308.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.02459, allocations: 8 kB / 308.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.02468, allocations: 140.7 kB / 308.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02468, allocations: 0 / 308.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.02501, allocations: 148 kB / 308.9 MB, free: 5.344 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (40): * Single equations (assignments): 38 * 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 9.062e-05/0.0251, allocations: 84.36 kB / 309 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.02555, allocations: 438.6 kB / 309.4 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.02556, allocations: 7.984 kB / 309.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.02584, allocations: 316.5 kB / 309.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.02623, allocations: 177.5 kB / 309.9 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.03281, allocations: 1.119 MB / 311.1 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.03293, allocations: 177.9 kB / 311.2 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.03308, allocations: 64.66 kB / 311.3 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.03327, allocations: 153.3 kB / 311.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03327, allocations: 0 / 311.4 MB, free: 2.73 MB / 298.7 MB Notification: Performance of Templates: time 0.008826/0.0421, allocations: 7.378 MB / 318.8 MB, free: 11.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7037691762670875]