Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001672/0.001672, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00225/0.00225, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.1859/0.1859, allocations: 38.55 MB / 353.2 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [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.002186/0.002186, allocations: 63.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3587, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.00739/0.3661, allocations: 4.605 MB / 0.5477 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.3688, allocations: 1.28 MB / 0.5489 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.3691, allocations: 17.56 kB / 0.5489 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3704, allocations: 399 kB / 0.5493 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006168/0.3711, allocations: 241 kB / 0.5495 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.3716, allocations: 178.9 kB / 0.5497 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.3723, allocations: 0.5501 MB / 0.5502 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.3728, allocations: 265.2 kB / 0.5505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.3732, allocations: 272.7 kB / 0.5508 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.3737, allocations: 269.7 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.3738, allocations: 30.88 kB / 0.551 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.3741, allocations: 137 kB / 0.5512 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.3743, allocations: 190.3 kB / 0.5513 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.3745, allocations: 183.5 kB / 0.5515 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.3753, allocations: 0.5341 MB / 0.552 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3753, allocations: 0 / 0.552 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3753, allocations: 0 / 0.552 GB, free: 9.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3753, allocations: 1.906 kB / 0.552 GB, free: 9.844 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001215/0.3765, allocations: 0.6511 MB / 0.5527 GB, free: 9.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3765, allocations: 17.98 kB / 0.5527 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.3773, allocations: 83.84 kB / 0.5528 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.3781, allocations: 362.2 kB / 0.5531 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3781, allocations: 22.78 kB / 0.5531 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3783, allocations: 47.98 kB / 0.5532 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.3791, allocations: 483.5 kB / 0.5537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3791, allocations: 1.188 kB / 0.5537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.3791, allocations: 11.47 kB / 0.5537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3793, allocations: 28.95 kB / 0.5537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.3799, allocations: 339.8 kB / 0.554 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.3824, allocations: 1.422 MB / 0.5554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3827, allocations: 165 kB / 0.5556 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3829, allocations: 110.4 kB / 0.5557 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3829, allocations: 6.188 kB / 0.5557 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.383, allocations: 36.77 kB / 0.5557 GB, free: 7.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.383, allocations: 1.094 kB / 0.5557 GB, free: 7.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00145/0.3844, allocations: 0.7155 MB / 0.5564 GB, free: 6.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3845, allocations: 81.11 kB / 0.5565 GB, free: 6.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.3849, allocations: 300.5 kB / 0.5568 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3849, allocations: 29.7 kB / 0.5568 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.3851, allocations: 260 kB / 0.5571 GB, free: 5.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.3852, allocations: 75.5 kB / 0.5571 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3853, allocations: 65.69 kB / 0.5572 GB, free: 5.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3854, allocations: 338.8 kB / 0.5575 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3856, allocations: 95.94 kB / 0.5576 GB, free: 5.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3859, allocations: 200.8 kB / 0.5578 GB, free: 4.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.3863, allocations: 332.4 kB / 0.5581 GB, free: 4.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3863, allocations: 0 / 0.5581 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008548/0.3872, allocations: 425.5 kB / 0.5585 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3872, allocations: 8 kB / 0.5585 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005247/0.3877, allocations: 260.2 kB / 0.5588 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.3881, allocations: 76.78 kB / 0.5588 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3884, allocations: 68.28 kB / 0.5589 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.3902, allocations: 1.581 MB / 0.5605 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3904, allocations: 19.92 kB / 0.5605 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3905, allocations: 8 kB / 0.5605 GB, free: 1.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.3907, allocations: 197.6 kB / 0.5607 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.3908, allocations: 35.88 kB / 0.5607 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.3913, allocations: 264.5 kB / 0.561 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3913, allocations: 4 kB / 0.561 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.3913, allocations: 0 / 0.561 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3913, allocations: 3.938 kB / 0.561 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.3925, allocations: 0.6324 MB / 0.5616 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3925, allocations: 7.938 kB / 0.5616 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.3928, allocations: 56.03 kB / 0.5616 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3928, allocations: 0 / 0.5616 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.3928, allocations: 4 kB / 0.5616 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.3928, allocations: 3.984 kB / 0.5616 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3928, allocations: 4 kB / 0.5617 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3934, allocations: 463.9 kB / 0.5621 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.3935, allocations: 31.84 kB / 0.5621 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.3935, allocations: 11.94 kB / 0.5621 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3937, allocations: 4 kB / 0.5621 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3938, allocations: 19.91 kB / 0.5622 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3938, allocations: 15.94 kB / 0.5622 GB, free: 172 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.394, allocations: 207.1 kB / 0.5624 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 0.5624 GB, free: 15.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.3945, allocations: 84 kB / 0.5625 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.3946, allocations: 107.2 kB / 0.5626 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.3953, allocations: 363.1 kB / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3953, allocations: 0 / 0.5629 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3955, allocations: 103.8 kB / 0.563 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.396, allocations: 57.06 kB / 0.5631 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3977, allocations: 0.9763 MB / 0.564 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.398, allocations: 241.3 kB / 0.5642 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.3981, allocations: 31.44 kB / 0.5643 GB, free: 13.94 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3981, allocations: 4 kB / 0.5643 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Templates: time 0.009264/0.4074, allocations: 5.456 MB / 0.5696 GB, free: 8.484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.23690504906699] Failed to read output from testmodel.py, exit status != 0: 0.4169683139771223 0.432530729 0.053804386 Calling exit ...