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.001352/0.001352, 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.001484/0.001484, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1899/0.1899, allocations: 38.56 MB / 352.5 MB, free: 12.29 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [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.002105/0.002105, allocations: 63.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3349, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006393/0.3413, allocations: 4.592 MB / 0.5464 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3438, allocations: 1.284 MB / 0.5477 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.3441, allocations: 17.5 kB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.3453, allocations: 398.7 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.3458, allocations: 240.7 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.3463, allocations: 182.4 kB / 0.5485 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006509/0.347, allocations: 0.5514 MB / 0.549 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.3474, allocations: 265.1 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.3479, allocations: 264.3 kB / 0.5495 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.3483, allocations: 272.8 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.3484, allocations: 35 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.3487, allocations: 132.8 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3489, allocations: 186.7 kB / 0.5501 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3491, allocations: 183.7 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.3497, allocations: 0.5419 MB / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3497, allocations: 0 / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3497, allocations: 1.219 kB / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3497, allocations: 0 / 0.5508 GB, free: 9.668 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.00122/0.351, allocations: 0.6482 MB / 0.5515 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.351, allocations: 13.08 kB / 0.5515 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.3511, allocations: 76.5 kB / 0.5516 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/0.3518, allocations: 89.66 kB / 0.5516 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.3527, allocations: 361.3 kB / 0.552 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3527, allocations: 30.86 kB / 0.552 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3528, allocations: 44.27 kB / 0.5521 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.3536, allocations: 479 kB / 0.5525 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3537, allocations: 1.156 kB / 0.5525 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.3537, allocations: 15.33 kB / 0.5525 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.3538, allocations: 32.86 kB / 0.5526 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.3545, allocations: 343.8 kB / 0.5529 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.3571, allocations: 1.48 MB / 0.5543 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3575, allocations: 165.7 kB / 0.5545 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3577, allocations: 105.7 kB / 0.5546 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3577, allocations: 2.188 kB / 0.5546 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3577, allocations: 44.75 kB / 0.5546 GB, free: 6.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.3577, allocations: 1.219 kB / 0.5546 GB, free: 6.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001496/0.3592, allocations: 0.7201 MB / 0.5553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.3593, allocations: 81.11 kB / 0.5554 GB, free: 6.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.3597, allocations: 304.5 kB / 0.5557 GB, free: 5.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3597, allocations: 33.7 kB / 0.5557 GB, free: 5.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3599, allocations: 260 kB / 0.556 GB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.36, allocations: 79.38 kB / 0.5561 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3601, allocations: 57.81 kB / 0.5561 GB, free: 5.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3603, allocations: 346.8 kB / 0.5564 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3604, allocations: 95.94 kB / 0.5565 GB, free: 5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3607, allocations: 196.8 kB / 0.5567 GB, free: 4.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3611, allocations: 336.4 kB / 0.557 GB, free: 4.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3611, allocations: 0 / 0.557 GB, free: 4.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000831/0.362, allocations: 420.2 kB / 0.5574 GB, free: 3.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.362, allocations: 4 kB / 0.5575 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00052/0.3625, allocations: 268.2 kB / 0.5577 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.3629, allocations: 76.78 kB / 0.5578 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3631, allocations: 68.08 kB / 0.5578 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.365, allocations: 1.608 MB / 0.5594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3652, allocations: 12 kB / 0.5594 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3653, allocations: 12 kB / 0.5594 GB, free: 1.805 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.0003292/0.3656, allocations: 189.7 kB / 0.5596 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.3657, allocations: 35.77 kB / 0.5597 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3662, allocations: 269.8 kB / 0.5599 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3662, allocations: 0 / 0.5599 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3662, allocations: 4 kB / 0.5599 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3662, allocations: 4 kB / 0.5599 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3676, allocations: 0.7091 MB / 0.5606 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3676, allocations: 4 kB / 0.5606 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.3679, allocations: 51.97 kB / 0.5607 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3679, allocations: 4.062 kB / 0.5607 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3679, allocations: 7.938 kB / 0.5607 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3679, allocations: 0 / 0.5607 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3679, allocations: 7.938 kB / 0.5607 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.3685, allocations: 452.6 kB / 0.5611 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.3686, allocations: 43.62 kB / 0.5612 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.3686, allocations: 8 kB / 0.5612 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3688, allocations: 4 kB / 0.5612 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3688, allocations: 19.91 kB / 0.5612 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3688, allocations: 8 kB / 0.5612 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.3691, allocations: 227 kB / 0.5614 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 0.5614 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.3695, allocations: 84 kB / 0.5615 GB, free: 15.61 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.0008953/0.3704, allocations: 0.9801 MB / 0.5624 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.3711, allocations: 367.1 kB / 0.5628 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3711, allocations: 4.125 kB / 0.5628 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.3713, allocations: 95.89 kB / 0.5629 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.3719, allocations: 73.33 kB / 0.563 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.377, allocations: 3.536 MB / 0.5664 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3773, allocations: 253.2 kB / 0.5667 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.3775, allocations: 70.91 kB / 0.5667 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.3777, allocations: 139.3 kB / 0.5669 GB, free: 9.855 MB / 414.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3777, allocations: 0 / 0.5669 GB, free: 9.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.4186, allocations: 7.96 MB / 0.5746 GB, free: 2.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 14.53 kB / 0.5746 GB, free: 2.039 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.932142226025462] Failed to read output from testmodel.py, exit status != 0: 12.190042571630329 12.220074572 11.864828971 Calling exit ...