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.001272/0.001272, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001379/0.001379, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.187/0.187, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.00202/0.00202, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006531/0.3045, allocations: 4.599 MB / 0.5464 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.307, allocations: 1.28 MB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.3072, allocations: 18.28 kB / 0.5477 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3084, allocations: 397.8 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.309, allocations: 245.2 kB / 0.5483 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.3095, allocations: 182.7 kB / 0.5485 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.3101, allocations: 0.5501 MB / 0.549 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.3106, allocations: 261.5 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.311, allocations: 273.2 kB / 0.5495 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.3114, allocations: 292.6 kB / 0.5498 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.3115, allocations: 31.62 kB / 0.5498 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3118, allocations: 136.6 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.312, allocations: 190.1 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3122, allocations: 176.2 kB / 0.5503 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.3128, allocations: 0.5374 MB / 0.5508 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3128, allocations: 1.25 kB / 0.5508 GB, free: 9.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3128, allocations: 4 kB / 0.5509 GB, free: 9.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3128, allocations: 0 / 0.5509 GB, free: 9.641 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.001134/0.314, allocations: 0.6521 MB / 0.5515 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.314, allocations: 14.2 kB / 0.5515 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.941e-05/0.3141, allocations: 76.38 kB / 0.5516 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.3148, allocations: 88.64 kB / 0.5517 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.3155, allocations: 353.4 kB / 0.552 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3156, allocations: 23.81 kB / 0.552 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.3157, allocations: 59.5 kB / 0.5521 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.3164, allocations: 479.2 kB / 0.5525 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3165, allocations: 5.062 kB / 0.5525 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.3165, allocations: 11.34 kB / 0.5525 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3166, allocations: 28.83 kB / 0.5526 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.3172, allocations: 347.8 kB / 0.5529 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3195, allocations: 1.477 MB / 0.5543 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.3199, allocations: 164 kB / 0.5545 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.32, allocations: 106 kB / 0.5546 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.32, allocations: 2.594 kB / 0.5546 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.3201, allocations: 44.84 kB / 0.5547 GB, free: 6.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.3201, allocations: 1.062 kB / 0.5547 GB, free: 6.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001316/0.3214, allocations: 0.7155 MB / 0.5554 GB, free: 6.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.3215, allocations: 87.48 kB / 0.5554 GB, free: 6.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.3219, allocations: 308.4 kB / 0.5557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3219, allocations: 29.7 kB / 0.5558 GB, free: 5.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3221, allocations: 264 kB / 0.556 GB, free: 5.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.3222, allocations: 71.38 kB / 0.5561 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3223, allocations: 61.69 kB / 0.5561 GB, free: 5.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3224, allocations: 342.8 kB / 0.5565 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3226, allocations: 91.94 kB / 0.5566 GB, free: 4.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.3229, allocations: 200.9 kB / 0.5567 GB, free: 4.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.3233, allocations: 339.2 kB / 0.5571 GB, free: 4.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3233, allocations: 0 / 0.5571 GB, free: 4.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008223/0.3241, allocations: 418.1 kB / 0.5575 GB, free: 3.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3242, allocations: 8 kB / 0.5575 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005222/0.3247, allocations: 274.4 kB / 0.5577 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.325, allocations: 84.7 kB / 0.5578 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.3253, allocations: 63.89 kB / 0.5579 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.3271, allocations: 1.596 MB / 0.5594 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3273, allocations: 8 kB / 0.5594 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3273, allocations: 16 kB / 0.5595 GB, free: 1.793 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.0002497/0.3276, allocations: 193.7 kB / 0.5596 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.3276, allocations: 31.77 kB / 0.5597 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.3281, allocations: 270.6 kB / 0.5599 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3281, allocations: 4.062 kB / 0.5599 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3281, allocations: 4 kB / 0.5599 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3281, allocations: 0 / 0.5599 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.3294, allocations: 0.713 MB / 0.5606 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3294, allocations: 0 / 0.5606 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.3297, allocations: 51.91 kB / 0.5607 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3297, allocations: 4 kB / 0.5607 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3297, allocations: 7.938 kB / 0.5607 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3297, allocations: 8.062 kB / 0.5607 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3297, allocations: 0 / 0.5607 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.3303, allocations: 449.6 kB / 0.5611 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3304, allocations: 43.92 kB / 0.5612 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.3304, allocations: 7.938 kB / 0.5612 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3306, allocations: 7.938 kB / 0.5612 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.3306, allocations: 27.89 kB / 0.5612 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3306, allocations: 4 kB / 0.5612 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3309, allocations: 219 kB / 0.5614 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3309, allocations: 0 / 0.5614 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.3313, allocations: 84 kB / 0.5615 GB, free: 15.6 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.000936/0.3322, allocations: 0.9917 MB / 0.5625 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.3329, allocations: 358.4 kB / 0.5628 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3329, allocations: 0.875 kB / 0.5628 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3331, allocations: 107.9 kB / 0.5629 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.3336, allocations: 60.38 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.004714/0.3383, allocations: 3.544 MB / 0.5664 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3385, allocations: 253.1 kB / 0.5667 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.3388, allocations: 70.91 kB / 0.5667 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3389, allocations: 135.4 kB / 0.5669 GB, free: 9.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3389, allocations: 0 / 0.5669 GB, free: 9.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/0.3925, allocations: 8.07 MB / 0.5748 GB, free: 1.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 12.05 kB / 0.5748 GB, free: 1.918 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.77033481397666] Failed to read output from testmodel.py, exit status != 0: 12.103400317020714 12.120298839 11.803948296 Calling exit ...