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.001314/0.001314, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001494/0.001494, allocations: 215.2 kB / 23.03 MB, free: 4.621 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03882/0.03882, allocations: 6.143 MB / 319.4 MB, free: 12.76 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.001508/0.001508, allocations: 55.92 kB / 444.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1009, allocations: 55.02 MB / 499.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.00393/0.1048, allocations: 2.378 MB / 0.4901 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1079, allocations: 1.73 MB / 0.4918 GB, free: 9.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.108, allocations: 8 kB / 0.4918 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.1085, allocations: 174.9 kB / 0.4919 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1091, allocations: 258.4 kB / 0.4922 GB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.1112, allocations: 1.026 MB / 0.4932 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000711/0.1119, allocations: 0.4937 MB / 0.4937 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1122, allocations: 100.8 kB / 0.4938 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1124, allocations: 215.1 kB / 0.494 GB, free: 7.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1127, allocations: 226.8 kB / 0.4942 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.1128, allocations: 40 kB / 0.4942 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.1133, allocations: 259.8 kB / 0.4945 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1135, allocations: 99.61 kB / 0.4946 GB, free: 6.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1137, allocations: 199 kB / 0.4947 GB, free: 6.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.1147, allocations: 0.6811 MB / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1147, allocations: 0 / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1147, allocations: 0 / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.1147, allocations: 0 / 0.4954 GB, free: 6.082 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.006637/0.1213, allocations: 1.597 MB / 0.497 GB, free: 4.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.1214, allocations: 16.03 kB / 0.497 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.1215, allocations: 78.66 kB / 0.4971 GB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1217, allocations: 52.61 kB / 0.4971 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.1222, allocations: 306.3 kB / 0.4974 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.1222, allocations: 33.31 kB / 0.4974 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.1223, allocations: 44.38 kB / 0.4975 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1235, allocations: 0.8133 MB / 0.4983 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1235, allocations: 0 / 0.4983 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.1235, allocations: 16 kB / 0.4983 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.1235, allocations: 8 kB / 0.4983 GB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/0.1245, allocations: 0.5661 MB / 0.4988 GB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.1277, allocations: 1.386 MB / 0.5002 GB, free: 1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.1288, allocations: 0.604 MB / 0.5008 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.1294, allocations: 354.3 kB / 0.5011 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/0.1311, allocations: 0.9158 MB / 0.502 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1311, allocations: 43 kB / 0.5021 GB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.1311, allocations: 4 kB / 0.5021 GB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.01061/0.1417, allocations: 2.559 MB / 0.5046 GB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.1419, allocations: 119.2 kB / 0.5047 GB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.1423, allocations: 341.5 kB / 0.505 GB, free: 12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.1424, allocations: 41.7 kB / 0.505 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1426, allocations: 201.4 kB / 0.5052 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.1428, allocations: 186.4 kB / 0.5054 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.1431, allocations: 150.6 kB / 0.5056 GB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1433, allocations: 346.8 kB / 0.5059 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/0.144, allocations: 409.9 kB / 0.5063 GB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.1448, allocations: 0.5707 MB / 0.5068 GB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.1463, allocations: 0.9493 MB / 0.5078 GB, free: 9.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1463, allocations: 4 kB / 0.5078 GB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005098/0.1514, allocations: 1.77 MB / 0.5095 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1514, allocations: 6.5 kB / 0.5095 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1515, allocations: 4 kB / 0.5095 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004918/0.1564, allocations: 1.095 MB / 0.5106 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.1569, allocations: 127.8 kB / 0.5107 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009704/0.1666, allocations: 4.991 MB / 0.5156 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.1672, allocations: 79.39 kB / 0.5156 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.1673, allocations: 31.98 kB / 0.5157 GB, free: 0.832 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.0002798/0.1676, allocations: 177.8 kB / 0.5158 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1677, allocations: 47.72 kB / 0.5159 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2343/0.402, allocations: 1.588 MB / 0.5174 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.402, allocations: 10.73 kB / 0.5175 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.402, allocations: 6.25 kB / 0.5175 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.402, allocations: 6.219 kB / 0.5175 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.4026, allocations: 0.4968 MB / 0.5179 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4026, allocations: 1.219 kB / 0.518 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.4029, allocations: 63.5 kB / 0.518 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00439/0.4073, allocations: 1.026 MB / 0.519 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.4073, allocations: 13.92 kB / 0.519 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00816/0.4155, allocations: 4.977 MB / 0.5239 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4155, allocations: 0 / 0.5239 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.4197, allocations: 1.597 MB / 0.5254 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.4197, allocations: 55.52 kB / 0.5255 GB, free: 27.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.4198, allocations: 22.94 kB / 0.5255 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.4202, allocations: 22.62 kB / 0.5255 GB, free: 27.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4204, allocations: 46.75 kB / 0.5256 GB, free: 27.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.4204, allocations: 16.53 kB / 0.5256 GB, free: 27.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.4206, allocations: 225.1 kB / 0.5258 GB, free: 27.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 0.9688 kB / 0.5258 GB, free: 27.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.4213, allocations: 232 kB / 0.526 GB, free: 27.5 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.004321/0.4256, allocations: 2.169 MB / 0.5282 GB, free: 26.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.4286, allocations: 1.262 MB / 0.5294 GB, free: 25.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4286, allocations: 1.375 kB / 0.5294 GB, free: 25.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.4306, allocations: 0.7838 MB / 0.5302 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4309, allocations: 39.14 kB / 0.5302 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.4441, allocations: 6.67 MB / 0.5367 GB, free: 21.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4444, allocations: 231.9 kB / 0.5369 GB, free: 21.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.4447, allocations: 57.86 kB / 0.537 GB, free: 21.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.4449, allocations: 152.1 kB / 0.5371 GB, free: 21.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4449, allocations: 3.938 kB / 0.5371 GB, free: 21.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06979/0.5147, allocations: 19.15 MB / 0.5558 GB, free: 8.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.49, allocations: 6.875 kB / 0.5558 GB, free: 8.465 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.023353076074272] Failed to read output from testmodel.py, exit status != 0: 12.599877736065537 12.613837372 12.496002072 Calling exit ...