Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.00143/0.00143, 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.00155/0.00155, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2011/0.2011, allocations: 38.56 MB / 352.5 MB, free: 12.31 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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.002152/0.002152, allocations: 64.19 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4094, allocations: 62.48 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009675/0.419, allocations: 6.47 MB / 0.5488 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.4237, allocations: 2.051 MB / 0.5508 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.4243, allocations: 35.75 kB / 0.5508 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.4259, allocations: 0.4984 MB / 0.5513 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.4275, allocations: 0.5614 MB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.4287, allocations: 372.3 kB / 0.5522 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4306, allocations: 1.308 MB / 0.5535 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.4315, allocations: 0.528 MB / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.4327, allocations: 0.5739 MB / 0.5545 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.434, allocations: 0.6993 MB / 0.5552 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.4342, allocations: 99.06 kB / 0.5553 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.4352, allocations: 0.5233 MB / 0.5558 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.4357, allocations: 470.8 kB / 0.5563 GB, free: 6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.4363, allocations: 446.2 kB / 0.5567 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.4381, allocations: 1.491 MB / 0.5582 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4381, allocations: 0 / 0.5582 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4381, allocations: 0 / 0.5582 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4381, allocations: 0 / 0.5582 GB, free: 4.066 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002986/0.4411, allocations: 1.299 MB / 0.5594 GB, free: 2.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4412, allocations: 11.98 kB / 0.5594 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.4421, allocations: 188.2 kB / 0.5596 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.4437, allocations: 0.6097 MB / 0.5602 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.444, allocations: 333.8 kB / 0.5605 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.4443, allocations: 95.92 kB / 0.5606 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.4467, allocations: 1.354 MB / 0.5619 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.4467, allocations: 3.938 kB / 0.5619 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.4468, allocations: 43.92 kB / 0.562 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.447, allocations: 57.98 kB / 0.562 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.4496, allocations: 1.296 MB / 0.5633 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007752/0.4573, allocations: 4.486 MB / 0.5677 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4596, allocations: 1 MB / 0.5687 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.4609, allocations: 0.5775 MB / 0.5692 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.701e-05/0.461, allocations: 16.64 kB / 0.5692 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.461, allocations: 47.09 kB / 0.5693 GB, free: 8.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.461, allocations: 0 / 0.5693 GB, free: 8.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006618/0.4676, allocations: 2.96 MB / 0.5722 GB, free: 5.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.4678, allocations: 85.77 kB / 0.5723 GB, free: 5.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.4684, allocations: 413.7 kB / 0.5727 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.4684, allocations: 41.7 kB / 0.5727 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4688, allocations: 404.4 kB / 0.5731 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.4691, allocations: 277.6 kB / 0.5733 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4693, allocations: 146.6 kB / 0.5735 GB, free: 3.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.4696, allocations: 374.8 kB / 0.5738 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.4705, allocations: 0.4899 MB / 0.5743 GB, free: 3.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.4717, allocations: 0.6911 MB / 0.575 GB, free: 2.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4738, allocations: 1.213 MB / 0.5762 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4738, allocations: 0 / 0.5762 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004648/0.4785, allocations: 1.892 MB / 0.578 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4785, allocations: 11.97 kB / 0.578 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003992/0.4825, allocations: 1.623 MB / 0.5796 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.4844, allocations: 0.6593 MB / 0.5803 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.485, allocations: 155.8 kB / 0.5804 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.4977, allocations: 7.094 MB / 0.5873 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.4986, allocations: 71.91 kB / 0.5874 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.4986, allocations: 40.11 kB / 0.5875 GB, free: 5.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005957/0.4992, allocations: 313.5 kB / 0.5878 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.4994, allocations: 67.58 kB / 0.5878 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.5019, allocations: 1.214 MB / 0.589 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.5019, allocations: 16 kB / 0.589 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5019, allocations: 0 / 0.589 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5019, allocations: 3.984 kB / 0.589 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.5061, allocations: 2.081 MB / 0.5911 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.5061, allocations: 0 / 0.5911 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/0.5089, allocations: 0.4915 MB / 0.5915 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.509, allocations: 40.84 kB / 0.5916 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.5091, allocations: 15.98 kB / 0.5916 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.5105, allocations: 1.496 MB / 0.593 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5105, allocations: 0 / 0.593 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.514, allocations: 1.939 MB / 0.5949 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.5142, allocations: 47.62 kB / 0.595 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.5143, allocations: 23.94 kB / 0.595 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.5148, allocations: 63.91 kB / 0.5951 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.515, allocations: 68.58 kB / 0.5951 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.515, allocations: 19.98 kB / 0.5952 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.5154, allocations: 271.1 kB / 0.5954 GB, free: 12.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5154, allocations: 0 / 0.5954 GB, free: 12.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009492/0.5163, allocations: 235.9 kB / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0002581/0.5166, allocations: 140.6 kB / 0.5958 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.5196, allocations: 1.505 MB / 0.5972 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5196, allocations: 4.062 kB / 0.5972 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.5224, allocations: 0.9666 MB / 0.5982 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.5232, allocations: 117.6 kB / 0.5983 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.5275, allocations: 2.296 MB / 0.6005 GB, free: 7.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.5281, allocations: 473.5 kB / 0.601 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005884/0.5287, allocations: 201.1 kB / 0.6012 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.5289, allocations: 55.42 kB / 0.6012 GB, free: 6.785 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5289, allocations: 0 / 0.6012 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Templates: time 0.02431/0.5532, allocations: 13.02 MB / 0.614 GB, free: 9.891 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.078685091808438] Failed to read output from testmodel.py, exit status != 0: 0.5629593376070261 0.5781226420000001 0.136292846 Calling exit ...