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.001333/0.001333, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001535/0.001535, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.192/0.192, allocations: 38.56 MB / 353.2 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.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.002536/0.002536, allocations: 71.89 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3639, allocations: 62.47 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008975/0.3729, allocations: 6.478 MB / 0.5495 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00444/0.3773, allocations: 2.036 MB / 0.5515 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.3778, allocations: 35.56 kB / 0.5515 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3795, allocations: 0.5055 MB / 0.552 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.381, allocations: 0.5627 MB / 0.5526 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3821, allocations: 378.5 kB / 0.5529 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.3838, allocations: 1.301 MB / 0.5542 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008245/0.3846, allocations: 0.5321 MB / 0.5547 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009781/0.3856, allocations: 0.5698 MB / 0.5553 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3867, allocations: 0.6997 MB / 0.556 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.3869, allocations: 99.12 kB / 0.5561 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.388, allocations: 0.5223 MB / 0.5566 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.3885, allocations: 474.8 kB / 0.557 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.3891, allocations: 446.2 kB / 0.5574 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.391, allocations: 1.487 MB / 0.5589 GB, free: 4.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.391, allocations: 0 / 0.5589 GB, free: 4.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.391, allocations: 0 / 0.5589 GB, free: 4.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.391, allocations: 0 / 0.5589 GB, free: 4.039 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.003049/0.394, allocations: 1.303 MB / 0.5602 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3941, allocations: 15.92 kB / 0.5602 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.3951, allocations: 184.2 kB / 0.5604 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.3966, allocations: 0.6136 MB / 0.561 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.397, allocations: 329.9 kB / 0.5613 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.3972, allocations: 95.91 kB / 0.5614 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.3997, allocations: 1.356 MB / 0.5627 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.3997, allocations: 7.938 kB / 0.5627 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.3998, allocations: 35.98 kB / 0.5627 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.3999, allocations: 61.97 kB / 0.5628 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.4028, allocations: 1.292 MB / 0.564 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007987/0.4108, allocations: 4.486 MB / 0.5684 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.4133, allocations: 1.012 MB / 0.5694 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.4146, allocations: 0.5736 MB / 0.57 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.4147, allocations: 12.64 kB / 0.57 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4147, allocations: 39.22 kB / 0.57 GB, free: 8.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.4147, allocations: 3.938 kB / 0.57 GB, free: 8.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006188/0.4209, allocations: 2.956 MB / 0.5729 GB, free: 5.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.421, allocations: 89.7 kB / 0.573 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.4215, allocations: 413.7 kB / 0.5734 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.4216, allocations: 37.7 kB / 0.5734 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.4219, allocations: 408.3 kB / 0.5738 GB, free: 4.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.4222, allocations: 273.7 kB / 0.5741 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.4224, allocations: 150.6 kB / 0.5742 GB, free: 3.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.4226, allocations: 374.8 kB / 0.5746 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4236, allocations: 0.4899 MB / 0.5751 GB, free: 3.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.4248, allocations: 0.6872 MB / 0.5757 GB, free: 2.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.427, allocations: 1.213 MB / 0.5769 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.427, allocations: 0 / 0.5769 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004575/0.4316, allocations: 1.899 MB / 0.5788 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4316, allocations: 8.531 kB / 0.5788 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004104/0.4357, allocations: 1.623 MB / 0.5804 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.4377, allocations: 0.6533 MB / 0.581 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.4383, allocations: 151.8 kB / 0.5811 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.4512, allocations: 7.094 MB / 0.5881 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.452, allocations: 71.91 kB / 0.5881 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.4521, allocations: 39.92 kB / 0.5882 GB, free: 5.219 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.0005265/0.4526, allocations: 317.5 kB / 0.5885 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4527, allocations: 63.58 kB / 0.5885 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.4554, allocations: 1.218 MB / 0.5897 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.4554, allocations: 12 kB / 0.5897 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4555, allocations: 0 / 0.5897 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4555, allocations: 7.984 kB / 0.5898 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.4596, allocations: 2.077 MB / 0.5918 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4596, allocations: 0 / 0.5918 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002733/0.4623, allocations: 0.4915 MB / 0.5923 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.4624, allocations: 40.84 kB / 0.5923 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.4625, allocations: 19.98 kB / 0.5923 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.4641, allocations: 1.5 MB / 0.5938 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4641, allocations: 4.031 kB / 0.5938 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.4678, allocations: 1.943 MB / 0.5957 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.468, allocations: 51.62 kB / 0.5957 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.4681, allocations: 19.94 kB / 0.5958 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.4686, allocations: 59.91 kB / 0.5958 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4688, allocations: 64.48 kB / 0.5959 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.4688, allocations: 23.98 kB / 0.5959 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.4693, allocations: 275.1 kB / 0.5962 GB, free: 12.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4693, allocations: 0 / 0.5962 GB, free: 12.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009812/0.4703, allocations: 235.9 kB / 0.5964 GB, free: 12.61 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.0002576/0.4705, allocations: 123.1 kB / 0.5965 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.4737, allocations: 1.513 MB / 0.598 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4737, allocations: 4 kB / 0.598 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.4764, allocations: 0.9514 MB / 0.5989 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.4773, allocations: 129.5 kB / 0.599 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.4818, allocations: 2.365 MB / 0.6013 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.4824, allocations: 481.5 kB / 0.6018 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.4827, allocations: 59.36 kB / 0.6019 GB, free: 6.871 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4827, allocations: 0 / 0.6019 GB, free: 6.871 MB / 446.1 MB Notification: Performance of Templates: time 0.02784/0.5105, allocations: 20.21 MB / 0.6216 GB, free: 2.684 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: 10.180270332843065] Failed to read output from testmodel.py, exit status != 0: 0.5201056874357164 0.5339269 0.139783758 Calling exit ...