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.001433/0.001433, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001677/0.001677, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2068/0.2068, allocations: 38.52 MB / 352.4 MB, free: 12.57 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.002153/0.002153, allocations: 67.89 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 62.46 MB / 0.542 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007348/0.337, allocations: 4.871 MB / 0.5468 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3399, allocations: 1.392 MB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.3402, allocations: 17.31 kB / 0.5481 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.3414, allocations: 425.2 kB / 0.5485 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.342, allocations: 240.6 kB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.3425, allocations: 182.9 kB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.3433, allocations: 0.5585 MB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.3439, allocations: 261.3 kB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.3444, allocations: 264.6 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.3449, allocations: 288.5 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.3449, allocations: 31.19 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.3452, allocations: 145.6 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3454, allocations: 191.1 kB / 0.5506 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3457, allocations: 227 kB / 0.5508 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.3463, allocations: 0.5259 MB / 0.5513 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3464, allocations: 0 / 0.5513 GB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3464, allocations: 0 / 0.5513 GB, free: 9.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3464, allocations: 1.562 kB / 0.5513 GB, free: 9.387 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.00123/0.3476, allocations: 0.661 MB / 0.552 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3476, allocations: 17.77 kB / 0.552 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.922e-05/0.3477, allocations: 75.69 kB / 0.5521 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.3484, allocations: 84.88 kB / 0.5522 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.3492, allocations: 358 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3492, allocations: 23.28 kB / 0.5525 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.3493, allocations: 43.88 kB / 0.5526 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.3501, allocations: 489.8 kB / 0.553 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3501, allocations: 0 / 0.553 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.3501, allocations: 11.69 kB / 0.553 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.3503, allocations: 33.66 kB / 0.5531 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.3508, allocations: 344.8 kB / 0.5534 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.3532, allocations: 1.551 MB / 0.5549 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.3536, allocations: 167.6 kB / 0.5551 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3537, allocations: 106.5 kB / 0.5552 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3538, allocations: 6.766 kB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3538, allocations: 43.53 kB / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.3538, allocations: 0 / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001377/0.3552, allocations: 0.7145 MB / 0.5559 GB, free: 5.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.3552, allocations: 79.52 kB / 0.556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.3556, allocations: 313.7 kB / 0.5563 GB, free: 5.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3556, allocations: 33.64 kB / 0.5563 GB, free: 5.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3558, allocations: 260.2 kB / 0.5566 GB, free: 5.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.3559, allocations: 75.31 kB / 0.5567 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.356, allocations: 65.64 kB / 0.5567 GB, free: 5.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3562, allocations: 342.8 kB / 0.557 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3563, allocations: 91.95 kB / 0.5571 GB, free: 4.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3566, allocations: 200.8 kB / 0.5573 GB, free: 4.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3571, allocations: 328.4 kB / 0.5576 GB, free: 4.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3571, allocations: 0 / 0.5576 GB, free: 4.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008705/0.3579, allocations: 428.3 kB / 0.558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.358, allocations: 8 kB / 0.558 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005439/0.3585, allocations: 256.2 kB / 0.5583 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.3589, allocations: 76.78 kB / 0.5584 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3591, allocations: 71.83 kB / 0.5584 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.361, allocations: 1.623 MB / 0.56 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.3612, allocations: 8 kB / 0.56 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3612, allocations: 12 kB / 0.56 GB, free: 1.52 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.0003118/0.3615, allocations: 193.7 kB / 0.5602 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.3616, allocations: 27.81 kB / 0.5603 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3621, allocations: 274.7 kB / 0.5605 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3621, allocations: 4 kB / 0.5605 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3621, allocations: 4.062 kB / 0.5605 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3621, allocations: 0 / 0.5605 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3634, allocations: 0.7176 MB / 0.5612 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3634, allocations: 7.984 kB / 0.5612 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.3637, allocations: 51.92 kB / 0.5613 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3637, allocations: 4.062 kB / 0.5613 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3637, allocations: 11.92 kB / 0.5613 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3637, allocations: 0 / 0.5613 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3637, allocations: 4 kB / 0.5613 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.3644, allocations: 455.5 kB / 0.5617 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.3645, allocations: 39.75 kB / 0.5618 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.3645, allocations: 11.94 kB / 0.5618 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3647, allocations: 7.922 kB / 0.5618 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3647, allocations: 19.92 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3648, allocations: 4 kB / 0.5618 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.365, allocations: 219 kB / 0.562 GB, free: 15.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 0 / 0.562 GB, free: 15.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.3654, allocations: 84 kB / 0.5621 GB, free: 15.32 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.001006/0.3664, allocations: 0.984 MB / 0.5631 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.3671, allocations: 374.5 kB / 0.5634 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3671, allocations: 0 / 0.5634 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.3673, allocations: 95.83 kB / 0.5635 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.3678, allocations: 73.17 kB / 0.5636 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.3728, allocations: 3.551 MB / 0.567 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.3733, allocations: 0.8459 MB / 0.5679 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.3735, allocations: 70.91 kB / 0.5679 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3738, allocations: 143.4 kB / 0.5681 GB, free: 8.938 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3738, allocations: 0 / 0.5681 GB, free: 8.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.4144, allocations: 7.517 MB / 0.5754 GB, free: 1.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.41, allocations: 17.5 kB / 0.5754 GB, free: 1.535 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.203283060109243] Failed to read output from testmodel.py, exit status != 0: 12.52286070608534 12.545998994 12.196260019 Calling exit ...