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.001889/0.001889, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002014/0.002014, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.625/1.625, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3528/0.3528, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.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 2.334e-06/2.334e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.415e-05, allocations: 6.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.009117/0.009151, allocations: 6.103 MB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.0121, allocations: 1.394 MB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.01241, allocations: 31.69 kB / 376.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.01294, allocations: 146.8 kB / 376.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.01391, allocations: 405.5 kB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.01446, allocations: 203.5 kB / 377.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01566, allocations: 0.942 MB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.01598, allocations: 171.2 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009077/0.01688, allocations: 0.5452 MB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.01766, allocations: 442.8 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01777, allocations: 48 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.0179, allocations: 48 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.01824, allocations: 279.2 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.01858, allocations: 223.5 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.01954, allocations: 0.6774 MB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01955, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01955, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.01956, allocations: 0 / 380.5 MB, free: 15.63 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002075/0.02163, allocations: 1.031 MB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.02167, allocations: 11.98 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.02188, allocations: 108.5 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.02301, allocations: 0.499 MB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.02306, allocations: 41.38 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.02315, allocations: 52.38 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.02409, allocations: 0.5132 MB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.0241, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.02416, allocations: 24 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.02429, allocations: 32.97 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.02493, allocations: 283.7 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/0.02866, allocations: 2.299 MB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.02946, allocations: 349.5 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.03008, allocations: 239.3 kB / 386 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.03013, allocations: 8 kB / 386 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.03018, allocations: 45.38 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 1.513e-06/0.03018, allocations: 0 / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003378/0.03356, allocations: 1.226 MB / 387.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.03364, allocations: 85.05 kB / 387.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.03425, allocations: 494.6 kB / 387.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.0343, allocations: 33.7 kB / 387.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.03464, allocations: 371.6 kB / 388.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.03483, allocations: 182.5 kB / 388.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.03503, allocations: 112.1 kB / 388.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003999/0.03543, allocations: 0.5586 MB / 389 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.03566, allocations: 101.2 kB / 389.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.0361, allocations: 278 kB / 389.4 MB, free: 6.293 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.03875, allocations: 0.873 MB / 390.3 MB, free: 5.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.03875, allocations: 0 / 390.3 MB, free: 5.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001178/0.03993, allocations: 0.5359 MB / 390.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.03995, allocations: 11.94 kB / 390.8 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.03996, allocations: 4 kB / 390.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.04041, allocations: 103.2 kB / 390.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.04091, allocations: 115.9 kB / 391.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.04432, allocations: 2.563 MB / 393.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.04467, allocations: 23.98 kB / 393.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.04472, allocations: 27.97 kB / 393.7 MB, free: 1.844 MB / 362.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: 16 * 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 (54): * Single equations (assignments): 53 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003477/0.04506, allocations: 212.4 kB / 393.9 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.0452, allocations: 67.7 kB / 393.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.04632, allocations: 482.2 kB / 394.4 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.04632, allocations: 8 kB / 394.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.04633, allocations: 4 kB / 394.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.04634, allocations: 0 / 394.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.04867, allocations: 1.093 MB / 395.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.04867, allocations: 0 / 395.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.04905, allocations: 71.89 kB / 395.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.04952, allocations: 126.8 kB / 395.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.04956, allocations: 16 kB / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.05279, allocations: 2.555 MB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.0528, allocations: 3.938 kB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.05424, allocations: 0.776 MB / 399.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.05435, allocations: 47.67 kB / 399.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.05442, allocations: 16 kB / 399.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.05467, allocations: 11.98 kB / 399.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.05476, allocations: 47.86 kB / 399.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.0548, allocations: 16 kB / 399.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.05518, allocations: 307.1 kB / 399.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05518, allocations: 0 / 399.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000662/0.05584, allocations: 144 kB / 399.6 MB, free: 11.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 39 * 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 0.0002012/0.05604, allocations: 122.5 kB / 399.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.05724, allocations: 0.5798 MB / 400.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.05725, allocations: 3.938 kB / 400.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.058, allocations: 446.4 kB / 400.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.05872, allocations: 109.7 kB / 400.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.06097, allocations: 1.176 MB / 402.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.06139, allocations: 313.2 kB / 402.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.06168, allocations: 92.61 kB / 402.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.06179, allocations: 36.5 kB / 402.5 MB, free: 8.625 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06179, allocations: 0 / 402.5 MB, free: 8.625 MB / 378.7 MB Notification: Performance of Templates: time 0.01517/0.07696, allocations: 6.746 MB / 409.2 MB, free: 1.992 MB / 378.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: 5.224322158028372]