Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001474/0.001474, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001572/0.001572, allocations: 211.4 kB / 23.73 MB, free: 4.387 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1841/0.1841, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [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.002707/0.002707, allocations: 63.89 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3913, allocations: 62.48 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008665/0.3999, allocations: 5.999 MB / 0.5483 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.4028, allocations: 1.368 MB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.4031, allocations: 34.25 kB / 0.5497 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.4037, allocations: 137.9 kB / 0.5498 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009663/0.4046, allocations: 420.7 kB / 0.5502 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4051, allocations: 193.8 kB / 0.5504 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4064, allocations: 1.087 MB / 0.5514 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.4068, allocations: 216.4 kB / 0.5516 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.4077, allocations: 495.1 kB / 0.5521 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.4085, allocations: 0.5259 MB / 0.5526 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4086, allocations: 64.94 kB / 0.5527 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.4088, allocations: 70.12 kB / 0.5528 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.4092, allocations: 320.3 kB / 0.5531 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.4096, allocations: 297.8 kB / 0.5534 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.4106, allocations: 0.8628 MB / 0.5542 GB, free: 7.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4106, allocations: 0 / 0.5542 GB, free: 7.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4106, allocations: 0 / 0.5542 GB, free: 7.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.4106, allocations: 1 kB / 0.5542 GB, free: 7.867 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002142/0.4127, allocations: 0.9437 MB / 0.5551 GB, free: 7.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4128, allocations: 15.98 kB / 0.5551 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.4129, allocations: 72.52 kB / 0.5552 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4141, allocations: 0.5155 MB / 0.5557 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.4144, allocations: 223.6 kB / 0.5559 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.4145, allocations: 56 kB / 0.556 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.4159, allocations: 0.7733 MB / 0.5567 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.416, allocations: 3.938 kB / 0.5567 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.416, allocations: 20 kB / 0.5568 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.4161, allocations: 36.97 kB / 0.5568 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4176, allocations: 0.7181 MB / 0.5575 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.4215, allocations: 2.332 MB / 0.5598 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.423, allocations: 0.6867 MB / 0.5604 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.4237, allocations: 377.4 kB / 0.5608 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.4238, allocations: 12.42 kB / 0.5608 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4238, allocations: 39 kB / 0.5608 GB, free: 1.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.4238, allocations: 0 / 0.5608 GB, free: 1.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004048/0.4278, allocations: 1.843 MB / 0.5626 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.4279, allocations: 85.55 kB / 0.5627 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4283, allocations: 369.6 kB / 0.5631 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4284, allocations: 37.7 kB / 0.5631 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4286, allocations: 289 kB / 0.5634 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4287, allocations: 194.3 kB / 0.5636 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.4289, allocations: 98.38 kB / 0.5637 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4291, allocations: 358.8 kB / 0.564 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.4296, allocations: 273.1 kB / 0.5643 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.4303, allocations: 378 kB / 0.5646 GB, free: 13.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4315, allocations: 0.6528 MB / 0.5653 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4315, allocations: 0 / 0.5653 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001536/0.433, allocations: 0.7952 MB / 0.566 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.433, allocations: 8 kB / 0.5661 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.433, allocations: 0 / 0.5661 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.4333, allocations: 82.03 kB / 0.5661 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4348, allocations: 307.5 kB / 0.5664 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/0.4412, allocations: 6.015 MB / 0.5723 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.4417, allocations: 43.89 kB / 0.5723 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.4418, allocations: 24 kB / 0.5724 GB, free: 4.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.4422, allocations: 249.8 kB / 0.5726 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.4423, allocations: 47.67 kB / 0.5726 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.4438, allocations: 0.7487 MB / 0.5734 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4438, allocations: 4 kB / 0.5734 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4438, allocations: 7.938 kB / 0.5734 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4438, allocations: 0 / 0.5734 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.4467, allocations: 1.434 MB / 0.5748 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4467, allocations: 3.984 kB / 0.5748 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.4484, allocations: 327.7 kB / 0.5751 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.4487, allocations: 85.64 kB / 0.5752 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.4487, allocations: 15.98 kB / 0.5752 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.4513, allocations: 2.908 MB / 0.578 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4513, allocations: 4.25 kB / 0.578 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.4536, allocations: 1.239 MB / 0.5793 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.4538, allocations: 47.67 kB / 0.5793 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.4539, allocations: 16.03 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.4542, allocations: 39.95 kB / 0.5794 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4544, allocations: 43.92 kB / 0.5794 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.4544, allocations: 16 kB / 0.5794 GB, free: 13.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.4547, allocations: 259.1 kB / 0.5797 GB, free: 12.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4547, allocations: 0 / 0.5797 GB, free: 12.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007406/0.4554, allocations: 151.9 kB / 0.5798 GB, free: 12.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.4556, allocations: 111.2 kB / 0.5799 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.4583, allocations: 1.057 MB / 0.5809 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4583, allocations: 448 / 0.5809 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4603, allocations: 0.7822 MB / 0.5817 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.4611, allocations: 125.4 kB / 0.5818 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.4644, allocations: 1.61 MB / 0.5834 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.4648, allocations: 344.8 kB / 0.5837 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.4652, allocations: 124.5 kB / 0.5838 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4653, allocations: 35.44 kB / 0.5839 GB, free: 8.414 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4653, allocations: 0 / 0.5839 GB, free: 8.414 MB / 430.1 MB Notification: Performance of Templates: time 0.01598/0.4813, allocations: 8.195 MB / 0.5919 GB, free: 328 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.517755426466465] Failed to read output from testmodel.py, exit status != 0: 0.4909449312835932 0.504457452 0.090782836 Calling exit ...