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.001619/0.001619, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.002172/0.002172, allocations: 217.7 kB / 23.82 MB, free: 4.512 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.579/1.579, allocations: 230.6 MB / 257.6 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.03916/0.03916, allocations: 6.137 MB / 320.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 39.94 kB / 445.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 55.02 MB / 0.4885 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004337/0.1097, allocations: 2.378 MB / 0.4908 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1128, allocations: 1.742 MB / 0.4925 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/0.1132, allocations: 8 kB / 0.4925 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1137, allocations: 175 kB / 0.4927 GB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.1144, allocations: 250.4 kB / 0.4929 GB, free: 9.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1165, allocations: 1.02 MB / 0.4939 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.1173, allocations: 0.4976 MB / 0.4944 GB, free: 7.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.1175, allocations: 112.8 kB / 0.4945 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1178, allocations: 207.2 kB / 0.4947 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1181, allocations: 262.8 kB / 0.495 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.1182, allocations: 36 kB / 0.495 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.1188, allocations: 267.8 kB / 0.4953 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.1189, allocations: 103.6 kB / 0.4954 GB, free: 6.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.1191, allocations: 199 kB / 0.4955 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.12, allocations: 0.681 MB / 0.4962 GB, free: 6.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.12, allocations: 0 / 0.4962 GB, free: 6.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.12, allocations: 0 / 0.4962 GB, free: 6.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.12, allocations: 0 / 0.4962 GB, free: 6.051 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.006991/0.127, allocations: 1.605 MB / 0.4978 GB, free: 4.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1271, allocations: 8.031 kB / 0.4978 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.072e-05/0.1271, allocations: 13.19 kB / 0.4978 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.1272, allocations: 70.72 kB / 0.4979 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1273, allocations: 56.61 kB / 0.4979 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.1278, allocations: 302.3 kB / 0.4982 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.1279, allocations: 37.38 kB / 0.4982 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.128, allocations: 40.38 kB / 0.4983 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1292, allocations: 0.817 MB / 0.4991 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1292, allocations: 0 / 0.4991 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.1293, allocations: 16 kB / 0.4991 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1293, allocations: 8 kB / 0.4991 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009341/0.1302, allocations: 0.5662 MB / 0.4997 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.1331, allocations: 1.39 MB / 0.501 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.1344, allocations: 0.6039 MB / 0.5016 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.135, allocations: 362.3 kB / 0.502 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.1366, allocations: 0.9119 MB / 0.5028 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.1366, allocations: 39 kB / 0.5029 GB, free: 15.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.1366, allocations: 0 / 0.5029 GB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.01062/0.1472, allocations: 2.563 MB / 0.5054 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.1473, allocations: 115.2 kB / 0.5055 GB, free: 12.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.1477, allocations: 341.5 kB / 0.5058 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.1478, allocations: 41.7 kB / 0.5059 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.148, allocations: 205.5 kB / 0.5061 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.1482, allocations: 190.3 kB / 0.5062 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.1485, allocations: 146.6 kB / 0.5064 GB, free: 11.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1486, allocations: 350.8 kB / 0.5067 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.1493, allocations: 405.8 kB / 0.5071 GB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/0.1501, allocations: 0.5669 MB / 0.5076 GB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1516, allocations: 0.9532 MB / 0.5086 GB, free: 9.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1516, allocations: 4 kB / 0.5086 GB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005055/0.1566, allocations: 1.77 MB / 0.5103 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1566, allocations: 4 kB / 0.5103 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1567, allocations: 4 kB / 0.5103 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005077/0.1617, allocations: 1.091 MB / 0.5114 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.1623, allocations: 123.8 kB / 0.5115 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009735/0.172, allocations: 4.995 MB / 0.5164 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.1726, allocations: 75.44 kB / 0.5165 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.1727, allocations: 28 kB / 0.5165 GB, free: 0.8047 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.0002666/0.1729, allocations: 173.8 kB / 0.5166 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.173, allocations: 51.67 kB / 0.5167 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2374/0.4104, allocations: 1.599 MB / 0.5183 GB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4104, allocations: 3.375 kB / 0.5183 GB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4105, allocations: 9.812 kB / 0.5183 GB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4105, allocations: 3.562 kB / 0.5183 GB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.4112, allocations: 0.4955 MB / 0.5188 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4112, allocations: 0.5156 kB / 0.5188 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.4114, allocations: 69.42 kB / 0.5188 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004924/0.4164, allocations: 1.026 MB / 0.5198 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/0.4165, allocations: 19.02 kB / 0.5198 GB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009333/0.4258, allocations: 4.969 MB / 0.5247 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4258, allocations: 0 / 0.5247 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.4306, allocations: 1.603 MB / 0.5263 GB, free: 27.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.4307, allocations: 56.31 kB / 0.5263 GB, free: 27.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.4308, allocations: 10.64 kB / 0.5263 GB, free: 27.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.4312, allocations: 29.38 kB / 0.5264 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4314, allocations: 50.83 kB / 0.5264 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.4315, allocations: 19.02 kB / 0.5264 GB, free: 27.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.4318, allocations: 223.3 kB / 0.5266 GB, free: 27.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4318, allocations: 0 / 0.5266 GB, free: 27.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008776/0.4327, allocations: 227.6 kB / 0.5268 GB, free: 27.4 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.004637/0.4373, allocations: 2.169 MB / 0.529 GB, free: 26.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.4403, allocations: 1.26 MB / 0.5302 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4403, allocations: 4.25 kB / 0.5302 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.4424, allocations: 0.7807 MB / 0.531 GB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.4428, allocations: 47.27 kB / 0.531 GB, free: 25.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4562, allocations: 6.671 MB / 0.5375 GB, free: 21.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4564, allocations: 231.6 kB / 0.5377 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000239/0.4567, allocations: 55.42 kB / 0.5378 GB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4569, allocations: 152.2 kB / 0.5379 GB, free: 21.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4569, allocations: 4 kB / 0.5379 GB, free: 21.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.5018, allocations: 18.7 MB / 0.5562 GB, free: 8.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.07, allocations: 14.3 kB / 0.5562 GB, free: 8.766 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.887940366985276] Failed to read output from testmodel.py, exit status != 0: 13.239663471002132 13.25532109 13.131921992 Calling exit ...