Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001477/0.001477, allocations: 114.2 kB / 19.74 MB, free: 2.164 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.001657/0.001657, allocations: 217.2 kB / 23.05 MB, free: 5.004 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.03644/0.03644, allocations: 6.129 MB / 319.4 MB, free: 12.98 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.94 kB / 444.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.101, allocations: 55.01 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003519/0.1045, allocations: 2.268 MB / 0.49 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.107, allocations: 1.723 MB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1072, allocations: 4 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.1076, allocations: 159.1 kB / 0.4919 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.1081, allocations: 214.6 kB / 0.4921 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.1106, allocations: 1.221 MB / 0.4933 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.1112, allocations: 402.1 kB / 0.4936 GB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1114, allocations: 83.69 kB / 0.4937 GB, free: 8.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.1115, allocations: 179.3 kB / 0.4939 GB, free: 8.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.1118, allocations: 203.1 kB / 0.4941 GB, free: 7.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.1119, allocations: 32 kB / 0.4941 GB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.1124, allocations: 279.7 kB / 0.4944 GB, free: 7.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.1125, allocations: 75.75 kB / 0.4945 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1126, allocations: 195 kB / 0.4946 GB, free: 7.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.1134, allocations: 0.5838 MB / 0.4952 GB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1134, allocations: 0 / 0.4952 GB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1134, allocations: 0 / 0.4952 GB, free: 6.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1135, allocations: 0 / 0.4952 GB, free: 6.688 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00529/0.1187, allocations: 1.3 MB / 0.4965 GB, free: 5.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1188, allocations: 16.03 kB / 0.4965 GB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.621e-05/0.1189, allocations: 66.72 kB / 0.4966 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.119, allocations: 44.66 kB / 0.4966 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.1196, allocations: 269.4 kB / 0.4969 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.1196, allocations: 21.03 kB / 0.4969 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.1197, allocations: 32.38 kB / 0.4969 GB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.1205, allocations: 482.4 kB / 0.4974 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1205, allocations: 3.938 kB / 0.4974 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/0.1206, allocations: 16 kB / 0.4974 GB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1206, allocations: 8 kB / 0.4974 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.1213, allocations: 438.4 kB / 0.4978 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.1239, allocations: 1.367 MB / 0.4991 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.1248, allocations: 482.4 kB / 0.4996 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.1252, allocations: 248.8 kB / 0.4998 GB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.1253, allocations: 11.97 kB / 0.4999 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1253, allocations: 46.5 kB / 0.4999 GB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.1253, allocations: 0 / 0.4999 GB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00694/0.1323, allocations: 1.778 MB / 0.5016 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.1324, allocations: 106.8 kB / 0.5017 GB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.1327, allocations: 269.8 kB / 0.502 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.1328, allocations: 37.7 kB / 0.502 GB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1329, allocations: 169 kB / 0.5022 GB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1331, allocations: 162.6 kB / 0.5024 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.1333, allocations: 102.3 kB / 0.5024 GB, free: 15.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1335, allocations: 346.8 kB / 0.5028 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.134, allocations: 297.2 kB / 0.5031 GB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.1345, allocations: 349.7 kB / 0.5034 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.1356, allocations: 0.6625 MB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1356, allocations: 8.031 kB / 0.504 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003636/0.1393, allocations: 1.251 MB / 0.5053 GB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1393, allocations: 11.94 kB / 0.5053 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1393, allocations: 7.922 kB / 0.5053 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/0.143, allocations: 0.7773 MB / 0.506 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.1434, allocations: 87.89 kB / 0.5061 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008059/0.1514, allocations: 4.067 MB / 0.5101 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.1519, allocations: 63.5 kB / 0.5102 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.152, allocations: 19.98 kB / 0.5102 GB, free: 6.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002489/0.1522, allocations: 157.7 kB / 0.5103 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.1523, allocations: 31.81 kB / 0.5104 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.1561, allocations: 1.21 MB / 0.5115 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1561, allocations: 8 kB / 0.5116 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1561, allocations: 0 / 0.5116 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1561, allocations: 3.984 kB / 0.5116 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.1568, allocations: 0.5317 MB / 0.5121 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1568, allocations: 4 kB / 0.5121 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.157, allocations: 63.91 kB / 0.5121 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/0.1606, allocations: 0.7421 MB / 0.5129 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.1606, allocations: 19.98 kB / 0.5129 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007772/0.1684, allocations: 4.029 MB / 0.5168 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1684, allocations: 3.938 kB / 0.5168 GB, free: 0 / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2001/0.3686, allocations: 1.219 MB / 0.518 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3687, allocations: 44.03 kB / 0.5181 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.3687, allocations: 13.5 kB / 0.5181 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3691, allocations: 22.12 kB / 0.5181 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3693, allocations: 47.56 kB / 0.5181 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3693, allocations: 14.39 kB / 0.5181 GB, free: 29.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3695, allocations: 194.3 kB / 0.5183 GB, free: 29.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3695, allocations: 0 / 0.5183 GB, free: 29.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.3701, allocations: 175.9 kB / 0.5185 GB, free: 29.88 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003537/0.3736, allocations: 1.785 MB / 0.5202 GB, free: 29.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.3761, allocations: 0.9907 MB / 0.5212 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3761, allocations: 1.094 kB / 0.5212 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.3779, allocations: 0.6442 MB / 0.5218 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3784, allocations: 47.25 kB / 0.5219 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.3885, allocations: 5.173 MB / 0.5269 GB, free: 27.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3887, allocations: 0.7958 MB / 0.5277 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.3889, allocations: 54.02 kB / 0.5278 GB, free: 26.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3891, allocations: 120.9 kB / 0.5279 GB, free: 26.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3891, allocations: 1.188 kB / 0.5279 GB, free: 26.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.4377, allocations: 15.73 MB / 0.5432 GB, free: 21.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.6, allocations: 3.938 kB / 0.5432 GB, free: 21.03 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.23455826402642] Failed to read output from testmodel.py, exit status != 0: 13.72970844595693 13.751728021 13.634431044 Calling exit ...