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.001583/0.001583, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001862/0.001862, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.177/0.177, allocations: 38.52 MB / 353.2 MB, free: 12.52 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.002112/0.002112, allocations: 70.55 kB / 493.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 62.47 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00945/0.3066, allocations: 6.961 MB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00439/0.311, allocations: 2.211 MB / 0.5522 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006125/0.3116, allocations: 39.22 kB / 0.5522 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.3133, allocations: 0.5327 MB / 0.5527 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3149, allocations: 0.5539 MB / 0.5533 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.316, allocations: 386.4 kB / 0.5537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3178, allocations: 1.309 MB / 0.5549 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.3186, allocations: 0.5331 MB / 0.5555 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3196, allocations: 0.5654 MB / 0.556 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3207, allocations: 0.7266 MB / 0.5567 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3209, allocations: 103.3 kB / 0.5568 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.3219, allocations: 0.5507 MB / 0.5574 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.3224, allocations: 470.8 kB / 0.5578 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.323, allocations: 0.5211 MB / 0.5583 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.3247, allocations: 1.472 MB / 0.5598 GB, free: 3.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3248, allocations: 4 kB / 0.5598 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3248, allocations: 3.938 kB / 0.5598 GB, free: 3.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.3248, allocations: 0 / 0.5598 GB, free: 3.434 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.002759/0.3275, allocations: 1.301 MB / 0.561 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3276, allocations: 11.98 kB / 0.561 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008581/0.3284, allocations: 188.1 kB / 0.5612 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3298, allocations: 0.6214 MB / 0.5618 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.3301, allocations: 329.9 kB / 0.5621 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.3303, allocations: 95.91 kB / 0.5622 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.3325, allocations: 1.358 MB / 0.5636 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.3326, allocations: 0 / 0.5636 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.3327, allocations: 32 kB / 0.5636 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.3328, allocations: 69.89 kB / 0.5637 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.3351, allocations: 1.296 MB / 0.5649 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007111/0.3422, allocations: 4.84 MB / 0.5696 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.3444, allocations: 1.008 MB / 0.5706 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3455, allocations: 0.5775 MB / 0.5712 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.253e-05/0.3455, allocations: 12.64 kB / 0.5712 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3456, allocations: 43.22 kB / 0.5712 GB, free: 7.289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.3456, allocations: 0 / 0.5712 GB, free: 7.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005962/0.3515, allocations: 2.972 MB / 0.5742 GB, free: 4.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.3516, allocations: 85.77 kB / 0.5742 GB, free: 4.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.3522, allocations: 469.9 kB / 0.5747 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.3522, allocations: 33.7 kB / 0.5747 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.3525, allocations: 408.3 kB / 0.5751 GB, free: 3.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.3528, allocations: 265.7 kB / 0.5754 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.353, allocations: 146.6 kB / 0.5755 GB, free: 2.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3532, allocations: 382.8 kB / 0.5759 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/0.3541, allocations: 0.4899 MB / 0.5763 GB, free: 1.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3552, allocations: 0.6833 MB / 0.577 GB, free: 1.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3573, allocations: 1.217 MB / 0.5782 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3573, allocations: 3.938 kB / 0.5782 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004541/0.3618, allocations: 1.891 MB / 0.58 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3618, allocations: 8 kB / 0.5801 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003886/0.3657, allocations: 1.631 MB / 0.5816 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.3675, allocations: 0.6534 MB / 0.5823 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.3682, allocations: 155.7 kB / 0.5824 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.38, allocations: 7.213 MB / 0.5895 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.3807, allocations: 71.91 kB / 0.5895 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.3807, allocations: 28 kB / 0.5896 GB, free: 4.027 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.0004844/0.3812, allocations: 309.6 kB / 0.5899 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.3814, allocations: 67.56 kB / 0.5899 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.3837, allocations: 1.23 MB / 0.5911 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.3838, allocations: 12 kB / 0.5911 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3838, allocations: 0 / 0.5911 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3838, allocations: 7.984 kB / 0.5912 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.3879, allocations: 2.302 MB / 0.5934 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3879, allocations: 7.938 kB / 0.5934 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/0.3904, allocations: 499.5 kB / 0.5939 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/0.3906, allocations: 32.78 kB / 0.5939 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.3906, allocations: 20 kB / 0.5939 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3919, allocations: 1.523 MB / 0.5954 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3919, allocations: 3.938 kB / 0.5954 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.3953, allocations: 1.947 MB / 0.5973 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3954, allocations: 55.56 kB / 0.5974 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3955, allocations: 23.94 kB / 0.5974 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.3961, allocations: 55.92 kB / 0.5975 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3962, allocations: 64.53 kB / 0.5975 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.3963, allocations: 20 kB / 0.5975 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.3966, allocations: 322.8 kB / 0.5978 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3966, allocations: 4 kB / 0.5978 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009076/0.3975, allocations: 235.9 kB / 0.5981 GB, free: 11.09 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.0002392/0.3978, allocations: 127.2 kB / 0.5982 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.4007, allocations: 1.505 MB / 0.5997 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4007, allocations: 4.062 kB / 0.5997 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.4032, allocations: 0.951 MB / 0.6006 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.4041, allocations: 168.9 kB / 0.6008 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.4084, allocations: 2.384 MB / 0.6031 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/0.4092, allocations: 1.071 MB / 0.6041 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.4095, allocations: 55.42 kB / 0.6042 GB, free: 4.707 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4095, allocations: 3.938 kB / 0.6042 GB, free: 4.703 MB / 446.1 MB Notification: Performance of Templates: time 0.02619/0.4357, allocations: 20.4 MB / 0.6241 GB, free: 336 kB / 462.1 MB " [Timeout remaining time 660] 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: 9.823142382781953] Failed to read output from testmodel.py, exit status != 0: 0.4450150169432163 0.459336261 0.131359584 Calling exit ...