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.001283/0.001283, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001455/0.001455, allocations: 208.7 kB / 24.49 MB, free: 4.145 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1799/0.1799, allocations: 38.52 MB / 353.2 MB, free: 12.53 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.002038/0.002038, allocations: 67.89 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 62.47 MB / 0.5432 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006977/0.3396, allocations: 4.868 MB / 0.548 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3423, allocations: 1.388 MB / 0.5493 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.3425, allocations: 25.94 kB / 0.5494 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.3439, allocations: 413.3 kB / 0.5498 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.3445, allocations: 240.7 kB / 0.55 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.3451, allocations: 178.4 kB / 0.5502 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.3459, allocations: 0.559 MB / 0.5507 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.3464, allocations: 269.4 kB / 0.551 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.3469, allocations: 267.5 kB / 0.5512 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.3475, allocations: 286.2 kB / 0.5515 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.3476, allocations: 30.31 kB / 0.5515 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.3479, allocations: 141.6 kB / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.3481, allocations: 195.3 kB / 0.5518 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.3484, allocations: 222.6 kB / 0.552 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.3491, allocations: 0.5296 MB / 0.5526 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3491, allocations: 0 / 0.5526 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.3491, allocations: 5.266 kB / 0.5526 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3491, allocations: 0 / 0.5526 GB, free: 9.512 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.001213/0.3503, allocations: 0.6583 MB / 0.5532 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3504, allocations: 16.27 kB / 0.5532 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.3511, allocations: 89.97 kB / 0.5533 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007673/0.3519, allocations: 352.4 kB / 0.5537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3519, allocations: 23.25 kB / 0.5537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.352, allocations: 49.08 kB / 0.5537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.3528, allocations: 476.9 kB / 0.5542 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3528, allocations: 9.141 kB / 0.5542 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.3529, allocations: 15.62 kB / 0.5542 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.353, allocations: 24.27 kB / 0.5542 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.3536, allocations: 345.1 kB / 0.5545 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.3561, allocations: 1.559 MB / 0.5561 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.3564, allocations: 168.2 kB / 0.5562 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3566, allocations: 103.3 kB / 0.5563 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3566, allocations: 0.9688 kB / 0.5563 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.3567, allocations: 48.47 kB / 0.5564 GB, free: 6.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.3567, allocations: 0 / 0.5564 GB, free: 6.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001565/0.3582, allocations: 0.7131 MB / 0.5571 GB, free: 6.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.3583, allocations: 81.11 kB / 0.5572 GB, free: 5.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.3587, allocations: 308.5 kB / 0.5574 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3587, allocations: 29.64 kB / 0.5575 GB, free: 5.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3589, allocations: 260.1 kB / 0.5577 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.359, allocations: 83.33 kB / 0.5578 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3591, allocations: 65.64 kB / 0.5579 GB, free: 5.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3593, allocations: 342.8 kB / 0.5582 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3595, allocations: 91.95 kB / 0.5583 GB, free: 4.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.3597, allocations: 192.8 kB / 0.5585 GB, free: 4.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.3603, allocations: 336.3 kB / 0.5588 GB, free: 4.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3603, allocations: 4 kB / 0.5588 GB, free: 4.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001009/0.3613, allocations: 420.3 kB / 0.5592 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3613, allocations: 7.984 kB / 0.5592 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006052/0.3619, allocations: 268.2 kB / 0.5595 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.3623, allocations: 76.78 kB / 0.5595 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3625, allocations: 67.83 kB / 0.5596 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.3645, allocations: 1.616 MB / 0.5612 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3647, allocations: 15.94 kB / 0.5612 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3648, allocations: 12 kB / 0.5612 GB, free: 1.504 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.0002735/0.365, allocations: 189.7 kB / 0.5614 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.3651, allocations: 31.81 kB / 0.5614 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.3656, allocations: 271.4 kB / 0.5617 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3656, allocations: 0 / 0.5617 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3656, allocations: 0 / 0.5617 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3656, allocations: 8.062 kB / 0.5617 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3669, allocations: 0.7253 MB / 0.5624 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3669, allocations: 0 / 0.5624 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.3672, allocations: 51.91 kB / 0.5624 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3672, allocations: 4 kB / 0.5624 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3672, allocations: 19.98 kB / 0.5625 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3672, allocations: 0 / 0.5625 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3672, allocations: 0 / 0.5625 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.3679, allocations: 455.7 kB / 0.5629 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3679, allocations: 27.84 kB / 0.5629 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.368, allocations: 15.94 kB / 0.5629 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3681, allocations: 11.98 kB / 0.5629 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3682, allocations: 15.92 kB / 0.563 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3682, allocations: 15.94 kB / 0.563 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.3684, allocations: 219 kB / 0.5632 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 0.5632 GB, free: 15.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.3689, allocations: 84 kB / 0.5633 GB, free: 15.3 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.0001324/0.369, allocations: 103.2 kB / 0.5634 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.3697, allocations: 366.2 kB / 0.5637 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3697, allocations: 0 / 0.5637 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3699, allocations: 92.83 kB / 0.5638 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3704, allocations: 84.19 kB / 0.5639 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3721, allocations: 0.9652 MB / 0.5648 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.3727, allocations: 0.85 MB / 0.5656 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.3728, allocations: 31.42 kB / 0.5657 GB, free: 12.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3728, allocations: 0 / 0.5657 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.008747/0.3815, allocations: 5.32 MB / 0.5709 GB, free: 7.41 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.152122305007651] Failed to read output from testmodel.py, exit status != 0: 0.39107943908311427 0.407265635 0.054726737000000004 Calling exit ...