Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001365/0.001365, allocations: 118.4 kB / 19.74 MB, free: 2.141 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.001572/0.001572, allocations: 224.1 kB / 23.05 MB, free: 4.941 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04243/0.04243, allocations: 6.125 MB / 319.4 MB, free: 12.94 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 52.02 kB / 444.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1019, allocations: 55.01 MB / 499.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003772/0.1056, allocations: 2.724 MB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1083, allocations: 1.816 MB / 0.4922 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1084, allocations: 8 kB / 0.4923 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1089, allocations: 183 kB / 0.4924 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.1094, allocations: 250.4 kB / 0.4927 GB, free: 9.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1114, allocations: 1.111 MB / 0.4937 GB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.1121, allocations: 0.5053 MB / 0.4942 GB, free: 7.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.1123, allocations: 100.9 kB / 0.4943 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1125, allocations: 223.1 kB / 0.4946 GB, free: 7.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.1128, allocations: 250.9 kB / 0.4948 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.1129, allocations: 40 kB / 0.4948 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.1134, allocations: 275.8 kB / 0.4951 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.1135, allocations: 103.5 kB / 0.4952 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.1137, allocations: 242.8 kB / 0.4954 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.1145, allocations: 0.6771 MB / 0.4961 GB, free: 5.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1145, allocations: 0 / 0.4961 GB, free: 5.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1145, allocations: 0 / 0.4961 GB, free: 5.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1146, allocations: 0 / 0.4961 GB, free: 5.734 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006369/0.1209, allocations: 1.605 MB / 0.4976 GB, free: 4.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.121, allocations: 8.031 kB / 0.4977 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1211, allocations: 74.72 kB / 0.4977 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1212, allocations: 56.61 kB / 0.4978 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1216, allocations: 302.3 kB / 0.4981 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.1217, allocations: 37.38 kB / 0.4981 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.1217, allocations: 40.38 kB / 0.4981 GB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1228, allocations: 0.6125 MB / 0.4987 GB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1228, allocations: 3.938 kB / 0.4987 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.1228, allocations: 16 kB / 0.4988 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1229, allocations: 8 kB / 0.4988 GB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.1237, allocations: 0.5623 MB / 0.4993 GB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.1268, allocations: 1.589 MB / 0.5009 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1279, allocations: 0.604 MB / 0.5015 GB, free: 96 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.1285, allocations: 354.2 kB / 0.5018 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.1302, allocations: 1.091 MB / 0.5029 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1302, allocations: 39 kB / 0.5029 GB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.1302, allocations: 0 / 0.5029 GB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.01018/0.1404, allocations: 2.559 MB / 0.5054 GB, free: 12.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.1405, allocations: 115.2 kB / 0.5055 GB, free: 11.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.1408, allocations: 341.5 kB / 0.5058 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.1409, allocations: 41.7 kB / 0.5059 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1411, allocations: 201.5 kB / 0.5061 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1412, allocations: 190.3 kB / 0.5062 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.1415, allocations: 142.6 kB / 0.5064 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1417, allocations: 358.8 kB / 0.5067 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.1423, allocations: 409.8 kB / 0.5071 GB, free: 10.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.1431, allocations: 0.5089 MB / 0.5076 GB, free: 9.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.1445, allocations: 0.9571 MB / 0.5086 GB, free: 8.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1445, allocations: 0 / 0.5086 GB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005002/0.1495, allocations: 1.762 MB / 0.5103 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1495, allocations: 11.94 kB / 0.5103 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1495, allocations: 8 kB / 0.5103 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004843/0.1543, allocations: 1.085 MB / 0.5113 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.1548, allocations: 127.8 kB / 0.5115 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009681/0.1645, allocations: 5.135 MB / 0.5165 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.1652, allocations: 75.44 kB / 0.5166 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.1652, allocations: 28 kB / 0.5166 GB, free: 312 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002917/0.1655, allocations: 177.8 kB / 0.5168 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1656, allocations: 51.66 kB / 0.5168 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.197/0.3626, allocations: 1.596 MB / 0.5184 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3626, allocations: 6.5 kB / 0.5184 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3627, allocations: 7.531 kB / 0.5184 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3627, allocations: 3.422 kB / 0.5184 GB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.3634, allocations: 0.6416 MB / 0.519 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3634, allocations: 1.25 kB / 0.519 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3636, allocations: 67.61 kB / 0.5191 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004624/0.3683, allocations: 1.024 MB / 0.5201 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.3683, allocations: 15.25 kB / 0.5201 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008533/0.3768, allocations: 5.111 MB / 0.5251 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3768, allocations: 0 / 0.5251 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/0.3814, allocations: 1.604 MB / 0.5266 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.3815, allocations: 56.41 kB / 0.5267 GB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.3815, allocations: 7.969 kB / 0.5267 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.382, allocations: 30.34 kB / 0.5267 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.3821, allocations: 46.19 kB / 0.5268 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.3821, allocations: 17.73 kB / 0.5268 GB, free: 27.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.3823, allocations: 224.8 kB / 0.527 GB, free: 27.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3823, allocations: 3.719 kB / 0.527 GB, free: 27.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008247/0.3832, allocations: 235 kB / 0.5272 GB, free: 27.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004704/0.3879, allocations: 2.168 MB / 0.5294 GB, free: 25.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.3909, allocations: 1.266 MB / 0.5306 GB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.3909, allocations: 1.562 kB / 0.5306 GB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.3929, allocations: 0.7816 MB / 0.5314 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3933, allocations: 37.67 kB / 0.5314 GB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.4076, allocations: 6.668 MB / 0.5379 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.408, allocations: 0.8318 MB / 0.5387 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.4083, allocations: 59.55 kB / 0.5388 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4085, allocations: 147.9 kB / 0.5389 GB, free: 20.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4085, allocations: 4 kB / 0.5389 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.458, allocations: 18.21 MB / 0.5567 GB, free: 8.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.63, allocations: 18.38 kB / 0.5567 GB, free: 8.266 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.325847210995562] Failed to read output from testmodel.py, exit status != 0: 12.747014299995499 12.772329562 12.652573391 Calling exit ...