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.001321/0.001321, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001447/0.001447, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 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.1872/0.1872, allocations: 38.52 MB / 353.2 MB, free: 12.55 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 62.46 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007566/0.2897, allocations: 6.281 MB / 0.5494 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2922, allocations: 1.446 MB / 0.5508 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2925, allocations: 34.91 kB / 0.5508 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.2929, allocations: 149.2 kB / 0.5509 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.2937, allocations: 394.4 kB / 0.5513 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.2941, allocations: 199 kB / 0.5515 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.2951, allocations: 0.9179 MB / 0.5524 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.2954, allocations: 173.5 kB / 0.5526 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.296, allocations: 431.8 kB / 0.553 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.2966, allocations: 493.2 kB / 0.5535 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.2967, allocations: 51.06 kB / 0.5535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2968, allocations: 52.06 kB / 0.5536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.2971, allocations: 267.5 kB / 0.5538 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.2974, allocations: 319.7 kB / 0.5541 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007559/0.2982, allocations: 0.6779 MB / 0.5548 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2982, allocations: 0 / 0.5548 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2982, allocations: 0.9688 kB / 0.5548 GB, free: 7.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.2982, allocations: 0 / 0.5548 GB, free: 7.922 MB / 398.1 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.001671/0.2998, allocations: 0.8915 MB / 0.5556 GB, free: 7.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2999, allocations: 12.89 kB / 0.5557 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3, allocations: 73 kB / 0.5557 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.301, allocations: 0.4896 MB / 0.5562 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.301, allocations: 40.62 kB / 0.5562 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.3011, allocations: 61.47 kB / 0.5563 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.3021, allocations: 0.621 MB / 0.5569 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3021, allocations: 0 / 0.5569 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.3021, allocations: 16 kB / 0.5569 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3022, allocations: 36.97 kB / 0.557 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.3031, allocations: 0.5113 MB / 0.5575 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.3063, allocations: 2.163 MB / 0.5596 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.3071, allocations: 469.1 kB / 0.56 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.3078, allocations: 346.7 kB / 0.5603 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.3078, allocations: 11.95 kB / 0.5604 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3078, allocations: 38.56 kB / 0.5604 GB, free: 2.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.3078, allocations: 0 / 0.5604 GB, free: 2.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003282/0.3111, allocations: 1.593 MB / 0.562 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.3112, allocations: 85.05 kB / 0.562 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.3116, allocations: 425.8 kB / 0.5624 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3117, allocations: 33.7 kB / 0.5625 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.3119, allocations: 297.1 kB / 0.5628 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3121, allocations: 174.7 kB / 0.5629 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3122, allocations: 98.3 kB / 0.563 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3124, allocations: 362.8 kB / 0.5634 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3127, allocations: 185.2 kB / 0.5635 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.3131, allocations: 320.5 kB / 0.5638 GB, free: 14.95 MB / 414.1 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.002567/0.3156, allocations: 1.162 MB / 0.565 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3156, allocations: 0 / 0.565 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001158/0.3168, allocations: 0.6989 MB / 0.5657 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3168, allocations: 8 kB / 0.5657 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3168, allocations: 8.406 kB / 0.5657 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.3172, allocations: 148.6 kB / 0.5658 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.3177, allocations: 107.9 kB / 0.5659 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.3207, allocations: 2.51 MB / 0.5684 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.321, allocations: 24.02 kB / 0.5684 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.321, allocations: 20 kB / 0.5684 GB, free: 10.1 MB / 414.1 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.0003011/0.3213, allocations: 224.4 kB / 0.5686 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.3214, allocations: 51.61 kB / 0.5687 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3225, allocations: 0.658 MB / 0.5693 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3226, allocations: 8 kB / 0.5693 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3226, allocations: 0 / 0.5693 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3226, allocations: 11.92 kB / 0.5693 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.3248, allocations: 1.329 MB / 0.5706 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3248, allocations: 4.109 kB / 0.5706 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3251, allocations: 79.83 kB / 0.5707 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.3255, allocations: 144.9 kB / 0.5709 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3256, allocations: 15.98 kB / 0.5709 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/0.3285, allocations: 2.536 MB / 0.5733 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3285, allocations: 0 / 0.5733 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.33, allocations: 0.9769 MB / 0.5743 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.3301, allocations: 47.62 kB / 0.5743 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.3302, allocations: 20.03 kB / 0.5744 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3304, allocations: 19.92 kB / 0.5744 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3305, allocations: 47.86 kB / 0.5744 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3305, allocations: 16 kB / 0.5744 GB, free: 3.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.3308, allocations: 287.1 kB / 0.5747 GB, free: 3.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3308, allocations: 0 / 0.5747 GB, free: 3.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000634/0.3315, allocations: 148 kB / 0.5749 GB, free: 3.246 MB / 414.1 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.0001321/0.3316, allocations: 107.1 kB / 0.575 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3327, allocations: 0.6333 MB / 0.5756 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3327, allocations: 0 / 0.5756 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.3334, allocations: 430.9 kB / 0.576 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.3341, allocations: 133.9 kB / 0.5761 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.3363, allocations: 1.383 MB / 0.5775 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.3369, allocations: 0.9292 MB / 0.5784 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.337, allocations: 43.42 kB / 0.5784 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.337, allocations: 3.938 kB / 0.5784 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Templates: time 0.01283/0.3499, allocations: 9.241 MB / 0.5874 GB, free: 6.258 MB / 430.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.375597334001213] Failed to read output from testmodel.py, exit status != 0: 0.3584680750500411 0.371884552 0.07072763999999994 Calling exit ...