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.00188/0.00188, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002258/0.002258, allocations: 222.2 kB / 23.03 MB, free: 5.012 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.03913/0.03913, allocations: 6.14 MB / 319.4 MB, free: 12.86 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.001564/0.001564, allocations: 47.92 kB / 444.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003722/0.1108, allocations: 2.37 MB / 0.49 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.1135, allocations: 1.742 MB / 0.4918 GB, free: 9.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1137, allocations: 12 kB / 0.4918 GB, free: 9.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.1142, allocations: 178.9 kB / 0.4919 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.1147, allocations: 250.4 kB / 0.4922 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.1168, allocations: 1.024 MB / 0.4932 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.1175, allocations: 0.4937 MB / 0.4937 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1177, allocations: 96.86 kB / 0.4937 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1179, allocations: 215.1 kB / 0.494 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1182, allocations: 219 kB / 0.4942 GB, free: 7.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.1182, allocations: 47.88 kB / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.1188, allocations: 263.8 kB / 0.4945 GB, free: 7.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.1189, allocations: 99.61 kB / 0.4946 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.1191, allocations: 199 kB / 0.4947 GB, free: 6.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.1199, allocations: 0.6733 MB / 0.4954 GB, free: 6.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1199, allocations: 3.984 kB / 0.4954 GB, free: 6.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1199, allocations: 0 / 0.4954 GB, free: 6.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1199, allocations: 0 / 0.4954 GB, free: 6.164 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.006509/0.1264, allocations: 1.605 MB / 0.497 GB, free: 4.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1265, allocations: 12.03 kB / 0.497 GB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1266, allocations: 70.72 kB / 0.497 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1267, allocations: 52.61 kB / 0.4971 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.1272, allocations: 310.2 kB / 0.4974 GB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.1272, allocations: 33.38 kB / 0.4974 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.1273, allocations: 40.38 kB / 0.4975 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1285, allocations: 0.8133 MB / 0.4983 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1285, allocations: 0 / 0.4983 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.1285, allocations: 20 kB / 0.4983 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1285, allocations: 8 kB / 0.4983 GB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.1294, allocations: 0.5623 MB / 0.4988 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.1324, allocations: 1.394 MB / 0.5002 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1335, allocations: 0.6001 MB / 0.5008 GB, free: 484 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.1341, allocations: 358.2 kB / 0.5011 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.1357, allocations: 0.9197 MB / 0.502 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1357, allocations: 39 kB / 0.5021 GB, free: 15.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.1357, allocations: 0 / 0.5021 GB, free: 15.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.01023/0.146, allocations: 2.563 MB / 0.5046 GB, free: 12.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.146, allocations: 115.2 kB / 0.5047 GB, free: 12.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1465, allocations: 341.5 kB / 0.505 GB, free: 12.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/0.1466, allocations: 41.7 kB / 0.505 GB, free: 12.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1467, allocations: 209.4 kB / 0.5052 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1469, allocations: 186.4 kB / 0.5054 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.1472, allocations: 146.6 kB / 0.5056 GB, free: 11.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1474, allocations: 350.8 kB / 0.5059 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.148, allocations: 409.9 kB / 0.5063 GB, free: 10.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.1488, allocations: 0.5707 MB / 0.5068 GB, free: 10.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.1502, allocations: 0.9492 MB / 0.5078 GB, free: 9.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1502, allocations: 8.031 kB / 0.5078 GB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004885/0.1551, allocations: 1.766 MB / 0.5095 GB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1552, allocations: 4 kB / 0.5095 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1552, allocations: 4 kB / 0.5095 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/0.16, allocations: 1.087 MB / 0.5106 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.1605, allocations: 119.8 kB / 0.5107 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0098/0.1703, allocations: 4.995 MB / 0.5156 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.1709, allocations: 79.39 kB / 0.5156 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.171, allocations: 39.91 kB / 0.5157 GB, free: 0.9102 MB / 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.0002753/0.1712, allocations: 184 kB / 0.5158 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1714, allocations: 43.72 kB / 0.5159 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1955/0.3669, allocations: 1.589 MB / 0.5174 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.3669, allocations: 12.09 kB / 0.5175 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3669, allocations: 4.844 kB / 0.5175 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3669, allocations: 7.016 kB / 0.5175 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.3675, allocations: 0.4962 MB / 0.5179 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3675, allocations: 0 / 0.5179 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.3677, allocations: 69.77 kB / 0.518 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/0.3722, allocations: 1.022 MB / 0.519 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.3722, allocations: 12.08 kB / 0.519 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008739/0.381, allocations: 4.971 MB / 0.5239 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.381, allocations: 1.188 kB / 0.5239 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.3854, allocations: 1.605 MB / 0.5254 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3855, allocations: 53.05 kB / 0.5255 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.3856, allocations: 15.31 kB / 0.5255 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.386, allocations: 27.11 kB / 0.5255 GB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.3862, allocations: 44.8 kB / 0.5256 GB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.3863, allocations: 17.25 kB / 0.5256 GB, free: 27.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.3865, allocations: 225.7 kB / 0.5258 GB, free: 27.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 3.75 kB / 0.5258 GB, free: 27.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008105/0.3873, allocations: 234.8 kB / 0.526 GB, free: 27.56 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.004662/0.392, allocations: 2.163 MB / 0.5282 GB, free: 26.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.3951, allocations: 1.267 MB / 0.5294 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3951, allocations: 3.609 kB / 0.5294 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.3971, allocations: 0.7802 MB / 0.5302 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3975, allocations: 43.5 kB / 0.5302 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.4112, allocations: 6.669 MB / 0.5367 GB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4115, allocations: 228 kB / 0.5369 GB, free: 21.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.4118, allocations: 61.36 kB / 0.537 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.412, allocations: 150.6 kB / 0.5371 GB, free: 21.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.412, allocations: 1.531 kB / 0.5371 GB, free: 21.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/0.4613, allocations: 19.16 MB / 0.5558 GB, free: 8.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.63, allocations: 14.88 kB / 0.5559 GB, free: 8.629 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.357509664725512] Failed to read output from testmodel.py, exit status != 0: 12.751897374168038 12.777882294 12.652232221 Calling exit ...