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.001793/0.001793, 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.001437/0.001437, allocations: 211.4 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.56 MB / 352.5 MB, free: 12.28 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.002114/0.002114, allocations: 71.88 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2956, allocations: 62.47 MB / 0.5419 GB, free: 100 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006794/0.3023, allocations: 4.596 MB / 0.5464 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3047, allocations: 1.285 MB / 0.5477 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.305, allocations: 16.62 kB / 0.5477 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.3063, allocations: 390.5 kB / 0.5481 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.3068, allocations: 249.3 kB / 0.5483 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3073, allocations: 182.4 kB / 0.5485 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000612/0.3079, allocations: 0.5471 MB / 0.549 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.3083, allocations: 261.1 kB / 0.5493 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.3087, allocations: 273.2 kB / 0.5495 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.3092, allocations: 268.6 kB / 0.5498 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.3092, allocations: 35.78 kB / 0.5498 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.3096, allocations: 132.4 kB / 0.5499 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.3098, allocations: 190.1 kB / 0.5501 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.31, allocations: 184 kB / 0.5503 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.3107, allocations: 0.5338 MB / 0.5508 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3107, allocations: 1.031 kB / 0.5508 GB, free: 9.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3107, allocations: 4 kB / 0.5508 GB, free: 9.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3107, allocations: 0 / 0.5508 GB, free: 9.52 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.001192/0.3119, allocations: 0.649 MB / 0.5515 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3119, allocations: 13.02 kB / 0.5515 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.312, allocations: 76.61 kB / 0.5515 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.3127, allocations: 88.44 kB / 0.5516 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.3135, allocations: 358 kB / 0.552 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.3135, allocations: 27.31 kB / 0.552 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3136, allocations: 55.56 kB / 0.5521 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/0.3143, allocations: 475.9 kB / 0.5525 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3144, allocations: 1.312 kB / 0.5525 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.3144, allocations: 14.38 kB / 0.5525 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3145, allocations: 29.16 kB / 0.5525 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.3151, allocations: 343.9 kB / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.3175, allocations: 1.479 MB / 0.5543 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.3178, allocations: 161.6 kB / 0.5545 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.318, allocations: 105.1 kB / 0.5546 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.318, allocations: 7.094 kB / 0.5546 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3181, allocations: 36.66 kB / 0.5546 GB, free: 6.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 4.127e-06/0.3181, allocations: 4 kB / 0.5546 GB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001354/0.3194, allocations: 0.7203 MB / 0.5553 GB, free: 6.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3195, allocations: 85.09 kB / 0.5554 GB, free: 6.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.3198, allocations: 308.5 kB / 0.5557 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3199, allocations: 25.7 kB / 0.5557 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.3201, allocations: 260 kB / 0.556 GB, free: 5.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.3201, allocations: 83.3 kB / 0.5561 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3202, allocations: 61.69 kB / 0.5561 GB, free: 5.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3204, allocations: 338.8 kB / 0.5564 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.3206, allocations: 104 kB / 0.5565 GB, free: 4.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3208, allocations: 200.8 kB / 0.5567 GB, free: 4.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.3213, allocations: 339.2 kB / 0.557 GB, free: 4.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3213, allocations: 0 / 0.557 GB, free: 4.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008361/0.3222, allocations: 418 kB / 0.5574 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3222, allocations: 8 kB / 0.5575 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005302/0.3227, allocations: 266.5 kB / 0.5577 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.323, allocations: 76.78 kB / 0.5578 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.3233, allocations: 67.91 kB / 0.5578 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.3251, allocations: 1.608 MB / 0.5594 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3254, allocations: 8 kB / 0.5594 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.3254, allocations: 16 kB / 0.5594 GB, free: 1.668 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.0002257/0.3256, allocations: 189.7 kB / 0.5596 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3257, allocations: 31.77 kB / 0.5596 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.3261, allocations: 267 kB / 0.5599 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3261, allocations: 8.062 kB / 0.5599 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.3261, allocations: 0 / 0.5599 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3261, allocations: 0 / 0.5599 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3274, allocations: 0.7169 MB / 0.5606 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3274, allocations: 0 / 0.5606 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.3276, allocations: 47.97 kB / 0.5607 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3277, allocations: 4 kB / 0.5607 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3277, allocations: 7.938 kB / 0.5607 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3277, allocations: 8.062 kB / 0.5607 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3277, allocations: 3.938 kB / 0.5607 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.3283, allocations: 449.5 kB / 0.5611 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.3284, allocations: 43.64 kB / 0.5612 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.3284, allocations: 12.03 kB / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3286, allocations: 4 kB / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.3286, allocations: 15.97 kB / 0.5612 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3286, allocations: 8 kB / 0.5612 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.3289, allocations: 215.1 kB / 0.5614 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3289, allocations: 3.938 kB / 0.5614 GB, free: 15.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.3293, allocations: 88 kB / 0.5615 GB, free: 15.48 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.0009231/0.3302, allocations: 0.9947 MB / 0.5625 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.3309, allocations: 363.1 kB / 0.5628 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3309, allocations: 0 / 0.5628 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3311, allocations: 103.9 kB / 0.5629 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3316, allocations: 64.31 kB / 0.563 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.3362, allocations: 3.547 MB / 0.5664 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3365, allocations: 249.2 kB / 0.5667 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.3367, allocations: 74.89 kB / 0.5667 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.3369, allocations: 131.4 kB / 0.5669 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3369, allocations: 0 / 0.5669 GB, free: 9.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.375, allocations: 7.959 MB / 0.5746 GB, free: 1.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 3.859 kB / 0.5746 GB, free: 1.914 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.88573443191126] Failed to read output from testmodel.py, exit status != 0: 12.161326767411083 12.191179828 11.874934351 Calling exit ...