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.00138/0.00138, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001481/0.001481, allocations: 216.8 kB / 24.52 MB, free: 3.914 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.518/1.518, allocations: 230.6 MB / 258.3 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.189/0.189, allocations: 38.55 MB / 353.2 MB, free: 12.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",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.002143/0.002143, allocations: 63.84 kB / 493.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006765/0.3567, allocations: 4.592 MB / 0.5472 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.359, allocations: 1.273 MB / 0.5484 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.3592, allocations: 18 kB / 0.5484 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.3605, allocations: 398.3 kB / 0.5488 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.3611, allocations: 245.2 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3617, allocations: 181.6 kB / 0.5492 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.3623, allocations: 0.551 MB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.3627, allocations: 265.8 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.3632, allocations: 275.9 kB / 0.5503 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.3636, allocations: 284.9 kB / 0.5506 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.3637, allocations: 31.91 kB / 0.5506 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.364, allocations: 135.8 kB / 0.5507 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3642, allocations: 191.2 kB / 0.5509 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.3645, allocations: 183.2 kB / 0.5511 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.3652, allocations: 0.5344 MB / 0.5516 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3652, allocations: 3.938 kB / 0.5516 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3652, allocations: 1.594 kB / 0.5516 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.3652, allocations: 0 / 0.5516 GB, free: 9.648 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.001332/0.3665, allocations: 0.6473 MB / 0.5522 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.3666, allocations: 14.08 kB / 0.5522 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.363e-05/0.3666, allocations: 10.16 kB / 0.5523 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.3667, allocations: 88.09 kB / 0.5523 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008522/0.3676, allocations: 85.12 kB / 0.5524 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.3684, allocations: 350 kB / 0.5528 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.3684, allocations: 34.77 kB / 0.5528 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3686, allocations: 43.95 kB / 0.5528 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.3695, allocations: 474.9 kB / 0.5533 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.3695, allocations: 1.094 kB / 0.5533 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.3696, allocations: 11.28 kB / 0.5533 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/0.3697, allocations: 29.27 kB / 0.5533 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.3704, allocations: 348.9 kB / 0.5537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.3731, allocations: 1.48 MB / 0.5551 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.3736, allocations: 165 kB / 0.5553 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3738, allocations: 101.8 kB / 0.5554 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3738, allocations: 18.08 kB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3738, allocations: 41.98 kB / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 3.437e-06/0.3738, allocations: 0 / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001755/0.3756, allocations: 0.7124 MB / 0.5561 GB, free: 6.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.3757, allocations: 80.61 kB / 0.5562 GB, free: 6.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.3761, allocations: 314 kB / 0.5565 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3761, allocations: 25.7 kB / 0.5565 GB, free: 5.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3764, allocations: 256.1 kB / 0.5568 GB, free: 5.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3765, allocations: 87.42 kB / 0.5568 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3766, allocations: 61.66 kB / 0.5569 GB, free: 5.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.3769, allocations: 346.7 kB / 0.5572 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.377, allocations: 91.95 kB / 0.5573 GB, free: 5.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.3774, allocations: 192.8 kB / 0.5575 GB, free: 4.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.3779, allocations: 339.2 kB / 0.5578 GB, free: 4.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3779, allocations: 0 / 0.5578 GB, free: 4.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009142/0.3788, allocations: 421.8 kB / 0.5582 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3788, allocations: 11.94 kB / 0.5582 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000535/0.3794, allocations: 266.5 kB / 0.5585 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.3798, allocations: 77.14 kB / 0.5586 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3801, allocations: 67.89 kB / 0.5586 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.3819, allocations: 1.6 MB / 0.5602 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.3822, allocations: 12 kB / 0.5602 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3822, allocations: 11.98 kB / 0.5602 GB, free: 1.82 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.0002962/0.3825, allocations: 191.7 kB / 0.5604 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.3826, allocations: 31.81 kB / 0.5604 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.3831, allocations: 272.5 kB / 0.5607 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3831, allocations: 4.141 kB / 0.5607 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3831, allocations: 7.922 kB / 0.5607 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3831, allocations: 7.922 kB / 0.5607 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3844, allocations: 0.6977 MB / 0.5614 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3844, allocations: 0 / 0.5614 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.3847, allocations: 59.97 kB / 0.5614 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3847, allocations: 7.938 kB / 0.5615 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3847, allocations: 4 kB / 0.5615 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3847, allocations: 7.984 kB / 0.5615 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3847, allocations: 0 / 0.5615 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.3854, allocations: 449.5 kB / 0.5619 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.3854, allocations: 35.78 kB / 0.5619 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.3855, allocations: 15.94 kB / 0.5619 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3857, allocations: 4 kB / 0.5619 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.3857, allocations: 15.97 kB / 0.562 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3857, allocations: 8 kB / 0.562 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.386, allocations: 223 kB / 0.5622 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.386, allocations: 0 / 0.5622 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.3865, allocations: 80 kB / 0.5623 GB, free: 15.64 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.001058/0.3876, allocations: 0.991 MB / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.3884, allocations: 362.8 kB / 0.5636 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.117e-05/0.3884, allocations: 8 kB / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.3886, allocations: 95.83 kB / 0.5637 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3891, allocations: 69.27 kB / 0.5637 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.3943, allocations: 3.542 MB / 0.5672 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3946, allocations: 245.2 kB / 0.5674 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.3948, allocations: 70.91 kB / 0.5675 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.395, allocations: 135.4 kB / 0.5676 GB, free: 9.883 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.395, allocations: 0 / 0.5676 GB, free: 9.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.4425, allocations: 7.696 MB / 0.5751 GB, free: 2.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.6, allocations: 16.48 kB / 0.5752 GB, free: 2.348 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.56696829199791] Failed to read output from testmodel.py, exit status != 0: 12.788129127002321 12.818253954 12.447541884 Calling exit ...