Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.001739/0.001739, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002327/0.002327, allocations: 216.4 kB / 23.82 MB, free: 4.48 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.461/1.461, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.05575/0.05575, allocations: 6.138 MB / 320.1 MB, free: 12.72 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 47.94 kB / 445.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 55.02 MB / 0.4885 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.00439/0.1118, allocations: 2.336 MB / 0.4908 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.1147, allocations: 1.629 MB / 0.4924 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.115, allocations: 8 kB / 0.4924 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.1155, allocations: 163 kB / 0.4925 GB, free: 9.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.1162, allocations: 218.6 kB / 0.4927 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1185, allocations: 1.124 MB / 0.4938 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.1192, allocations: 449.9 kB / 0.4943 GB, free: 8.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.1195, allocations: 122.3 kB / 0.4944 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1197, allocations: 187.3 kB / 0.4946 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.12, allocations: 231 kB / 0.4948 GB, free: 7.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.1201, allocations: 36 kB / 0.4948 GB, free: 7.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.1207, allocations: 275.7 kB / 0.4951 GB, free: 7.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.1207, allocations: 91.62 kB / 0.4952 GB, free: 7.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.121, allocations: 179.2 kB / 0.4953 GB, free: 6.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009695/0.1219, allocations: 0.6422 MB / 0.496 GB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1219, allocations: 0 / 0.496 GB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1219, allocations: 3.938 kB / 0.496 GB, free: 6.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1219, allocations: 0 / 0.496 GB, free: 6.266 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.005541/0.1275, allocations: 1.347 MB / 0.4973 GB, free: 4.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1275, allocations: 8.031 kB / 0.4973 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.003e-05/0.1276, allocations: 12.83 kB / 0.4973 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.1278, allocations: 70.72 kB / 0.4974 GB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1279, allocations: 52.66 kB / 0.4974 GB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.1283, allocations: 277.3 kB / 0.4977 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.1284, allocations: 33.03 kB / 0.4977 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.1284, allocations: 36.38 kB / 0.4978 GB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1295, allocations: 0.7263 MB / 0.4985 GB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1295, allocations: 3.984 kB / 0.4985 GB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.1296, allocations: 12 kB / 0.4985 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1296, allocations: 8 kB / 0.4985 GB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1303, allocations: 462.5 kB / 0.4989 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.1329, allocations: 1.198 MB / 0.5001 GB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/0.1339, allocations: 474.3 kB / 0.5006 GB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.1343, allocations: 240.8 kB / 0.5008 GB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.1343, allocations: 15.92 kB / 0.5008 GB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1344, allocations: 46.5 kB / 0.5008 GB, free: 1.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.1344, allocations: 0 / 0.5008 GB, free: 1.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007016/0.1414, allocations: 1.728 MB / 0.5025 GB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/0.1415, allocations: 110.8 kB / 0.5026 GB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1418, allocations: 269.8 kB / 0.5029 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.1419, allocations: 37.7 kB / 0.5029 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.142, allocations: 188.9 kB / 0.5031 GB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1422, allocations: 154.6 kB / 0.5033 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.1424, allocations: 102.3 kB / 0.5034 GB, free: 14.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1426, allocations: 346.7 kB / 0.5037 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.1431, allocations: 289.2 kB / 0.504 GB, free: 13.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.1437, allocations: 401.1 kB / 0.5043 GB, free: 13.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.1448, allocations: 0.6351 MB / 0.505 GB, free: 12.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1448, allocations: 0 / 0.505 GB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003897/0.1487, allocations: 1.235 MB / 0.5062 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1487, allocations: 4 kB / 0.5062 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1487, allocations: 0 / 0.5062 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/0.1525, allocations: 0.7695 MB / 0.5069 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.153, allocations: 83.89 kB / 0.507 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.1615, allocations: 3.864 MB / 0.5108 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.162, allocations: 59.61 kB / 0.5108 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.162, allocations: 16 kB / 0.5108 GB, free: 6.617 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.0002437/0.1623, allocations: 169.7 kB / 0.511 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.1624, allocations: 35.77 kB / 0.511 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.1661, allocations: 1.183 MB / 0.5122 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1661, allocations: 4 kB / 0.5122 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1661, allocations: 0 / 0.5122 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.1661, allocations: 7.984 kB / 0.5122 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.1704, allocations: 1.646 MB / 0.5138 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1704, allocations: 0 / 0.5138 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.1706, allocations: 55.97 kB / 0.5139 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/0.1742, allocations: 0.7421 MB / 0.5146 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.1744, allocations: 16 kB / 0.5146 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2376/0.412, allocations: 3.81 MB / 0.5183 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.412, allocations: 3.562 kB / 0.5183 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.4152, allocations: 1.195 MB / 0.5195 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4153, allocations: 45.64 kB / 0.5195 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.4154, allocations: 9.969 kB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4157, allocations: 26.22 kB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4158, allocations: 38.98 kB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.4159, allocations: 19.83 kB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.4161, allocations: 186.1 kB / 0.5198 GB, free: 28.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4161, allocations: 0 / 0.5198 GB, free: 28.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000631/0.4167, allocations: 191.1 kB / 0.52 GB, free: 28.65 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.003411/0.4201, allocations: 1.76 MB / 0.5217 GB, free: 27.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.4226, allocations: 0.9646 MB / 0.5227 GB, free: 27.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4226, allocations: 0 / 0.5227 GB, free: 27.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.4244, allocations: 0.6444 MB / 0.5233 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.4248, allocations: 38.39 kB / 0.5233 GB, free: 27.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/0.4348, allocations: 5.134 MB / 0.5283 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.435, allocations: 208 kB / 0.5285 GB, free: 25.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.4352, allocations: 49.25 kB / 0.5286 GB, free: 25.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4354, allocations: 133.5 kB / 0.5287 GB, free: 25.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4354, allocations: 4.375 kB / 0.5287 GB, free: 25.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04259/0.4779, allocations: 14.9 MB / 0.5433 GB, free: 20.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.95, allocations: 7.844 kB / 0.5433 GB, free: 20.33 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.66474831395317] Failed to read output from testmodel.py, exit status != 0: 14.130720655084588 14.142166899 14.01779081 Calling exit ...