Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.001724/0.001724, 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.002091/0.002091, allocations: 219.2 kB / 23.03 MB, free: 5.016 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.03684/0.03684, allocations: 6.145 MB / 319.4 MB, free: 12.78 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 43.92 kB / 444.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 55.02 MB / 499.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003976/0.1138, allocations: 2.34 MB / 0.49 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.1165, allocations: 1.621 MB / 0.4916 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1167, allocations: 4 kB / 0.4916 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.1171, allocations: 171 kB / 0.4918 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.1176, allocations: 218.6 kB / 0.492 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.12, allocations: 1.123 MB / 0.4931 GB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.1208, allocations: 453.8 kB / 0.4935 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.121, allocations: 106.4 kB / 0.4936 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.1213, allocations: 183.4 kB / 0.4938 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.1216, allocations: 207 kB / 0.494 GB, free: 7.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.1217, allocations: 40 kB / 0.494 GB, free: 7.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.1223, allocations: 263.7 kB / 0.4943 GB, free: 7.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.1224, allocations: 95.61 kB / 0.4944 GB, free: 7.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.1226, allocations: 179.1 kB / 0.4945 GB, free: 7.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.1236, allocations: 0.6422 MB / 0.4952 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1236, allocations: 0 / 0.4952 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1236, allocations: 0 / 0.4952 GB, free: 6.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1236, allocations: 0 / 0.4952 GB, free: 6.359 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005465/0.129, allocations: 1.351 MB / 0.4965 GB, free: 4.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1291, allocations: 8.031 kB / 0.4965 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.707e-05/0.1292, allocations: 70.72 kB / 0.4966 GB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1293, allocations: 52.59 kB / 0.4966 GB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.1298, allocations: 273.3 kB / 0.4969 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.1298, allocations: 33.02 kB / 0.4969 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.1299, allocations: 36.38 kB / 0.4969 GB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.131, allocations: 0.7187 MB / 0.4976 GB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.131, allocations: 3.938 kB / 0.4976 GB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.1311, allocations: 20 kB / 0.4977 GB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1311, allocations: 8 kB / 0.4977 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.1318, allocations: 462.4 kB / 0.4981 GB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.1345, allocations: 1.194 MB / 0.4993 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1355, allocations: 478.4 kB / 0.4997 GB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.1359, allocations: 232.8 kB / 0.5 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.101e-05/0.136, allocations: 11.98 kB / 0.5 GB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.136, allocations: 42.5 kB / 0.5 GB, free: 1.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/0.136, allocations: 0 / 0.5 GB, free: 1.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007741/0.1438, allocations: 1.844 MB / 0.5018 GB, free: 15.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.1438, allocations: 114.8 kB / 0.5019 GB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1442, allocations: 273.7 kB / 0.5022 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.1443, allocations: 37.7 kB / 0.5022 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1445, allocations: 184.9 kB / 0.5024 GB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1446, allocations: 154.7 kB / 0.5025 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.1448, allocations: 102.3 kB / 0.5026 GB, free: 14.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.145, allocations: 342.8 kB / 0.503 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.1455, allocations: 285.2 kB / 0.5032 GB, free: 13.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.1461, allocations: 393.1 kB / 0.5036 GB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.1471, allocations: 0.6313 MB / 0.5042 GB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1471, allocations: 4.031 kB / 0.5042 GB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003595/0.1507, allocations: 1.231 MB / 0.5054 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1507, allocations: 4 kB / 0.5054 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1508, allocations: 0 / 0.5054 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003622/0.1544, allocations: 0.7726 MB / 0.5062 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1548, allocations: 95.83 kB / 0.5063 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/0.1625, allocations: 3.819 MB / 0.51 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.1631, allocations: 51.61 kB / 0.5101 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.1631, allocations: 20 kB / 0.5101 GB, free: 6.672 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.0002621/0.1634, allocations: 165.7 kB / 0.5102 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.1635, allocations: 35.77 kB / 0.5103 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.1672, allocations: 1.163 MB / 0.5114 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1672, allocations: 8 kB / 0.5114 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1672, allocations: 0 / 0.5114 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1672, allocations: 3.984 kB / 0.5114 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.1712, allocations: 1.607 MB / 0.513 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1712, allocations: 3.938 kB / 0.513 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1714, allocations: 63.91 kB / 0.5131 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003533/0.175, allocations: 0.7337 MB / 0.5138 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.175, allocations: 15.98 kB / 0.5138 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.234/0.409, allocations: 3.768 MB / 0.5175 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.409, allocations: 1.688 kB / 0.5175 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.412, allocations: 1.168 MB / 0.5186 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.4121, allocations: 48.22 kB / 0.5187 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.4122, allocations: 6.656 kB / 0.5187 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4125, allocations: 33.14 kB / 0.5187 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4126, allocations: 40.61 kB / 0.5187 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.4127, allocations: 13.97 kB / 0.5187 GB, free: 28.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4128, allocations: 189.1 kB / 0.5189 GB, free: 28.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4128, allocations: 1.719 kB / 0.5189 GB, free: 28.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005676/0.4134, allocations: 185.6 kB / 0.5191 GB, free: 28.8 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 (35): * Single equations (assignments): 34 * 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.003495/0.4169, allocations: 1.732 MB / 0.5208 GB, free: 28.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4194, allocations: 0.9644 MB / 0.5217 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4194, allocations: 3.375 kB / 0.5217 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.4212, allocations: 0.6308 MB / 0.5224 GB, free: 27.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4216, allocations: 42.36 kB / 0.5224 GB, free: 27.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.4316, allocations: 5.127 MB / 0.5274 GB, free: 25.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.4318, allocations: 203.7 kB / 0.5276 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000204/0.432, allocations: 54.59 kB / 0.5276 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4323, allocations: 133.4 kB / 0.5278 GB, free: 25.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4323, allocations: 0 / 0.5278 GB, free: 25.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0482/0.4805, allocations: 15.29 MB / 0.5427 GB, free: 20.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.26, allocations: 8.469 kB / 0.5427 GB, free: 20.12 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.883277202956378] Failed to read output from testmodel.py, exit status != 0: 13.382477898150682 13.402386028 13.274438436 Calling exit ...