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.00144/0.00144, allocations: 122.1 kB / 17.88 MB, free: 5.027 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.00151/0.00151, allocations: 211.2 kB / 20.84 MB, free: 2.082 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.533/1.533, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.03746/0.03746, allocations: 6.139 MB / 316.4 MB, free: 1.129 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 54.95 kB / 439.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09177, allocations: 54.99 MB / 494.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002508/0.09428, allocations: 2.241 MB / 497.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.09597, allocations: 1.719 MB / 498.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.09609, allocations: 4 kB / 498.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.09647, allocations: 163 kB / 499.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.09684, allocations: 210.7 kB / 499.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.09846, allocations: 1.206 MB / 0.4887 GB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.09883, allocations: 410 kB / 0.4891 GB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.09898, allocations: 83.22 kB / 0.4892 GB, free: 4.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.09908, allocations: 171.3 kB / 0.4894 GB, free: 4.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.09929, allocations: 199.1 kB / 0.4896 GB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.09934, allocations: 35.94 kB / 0.4896 GB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.09971, allocations: 279.8 kB / 0.4899 GB, free: 3.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.09976, allocations: 79.62 kB / 0.4899 GB, free: 3.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.09987, allocations: 195.1 kB / 0.4901 GB, free: 3.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.1004, allocations: 0.576 MB / 0.4907 GB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1004, allocations: 0 / 0.4907 GB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1004, allocations: 0 / 0.4907 GB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1004, allocations: 4 kB / 0.4907 GB, free: 2.883 MB / 350.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.004866/0.1053, allocations: 1.387 MB / 0.492 GB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1053, allocations: 8.031 kB / 0.492 GB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.1053, allocations: 8.75 kB / 0.4921 GB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.1054, allocations: 66.67 kB / 0.4921 GB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.1055, allocations: 44.66 kB / 0.4922 GB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1058, allocations: 323.7 kB / 0.4925 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1058, allocations: 20.94 kB / 0.4925 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.1059, allocations: 40.31 kB / 0.4925 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.1064, allocations: 484.7 kB / 0.493 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1064, allocations: 0 / 0.493 GB, free: 416 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.1065, allocations: 8 kB / 0.493 GB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1065, allocations: 8 kB / 0.493 GB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.107, allocations: 422.1 kB / 0.4934 GB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.1095, allocations: 1.391 MB / 0.4948 GB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/0.1105, allocations: 474.4 kB / 0.4952 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.1109, allocations: 244.8 kB / 0.4955 GB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.111, allocations: 19.97 kB / 0.4955 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.111, allocations: 38.56 kB / 0.4955 GB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.111, allocations: 0 / 0.4955 GB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007111/0.1181, allocations: 1.853 MB / 0.4973 GB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.1182, allocations: 106.8 kB / 0.4974 GB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1185, allocations: 270.7 kB / 0.4977 GB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.1186, allocations: 37.7 kB / 0.4977 GB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1187, allocations: 165 kB / 0.4979 GB, free: 11.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1189, allocations: 154.6 kB / 0.498 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.1191, allocations: 106.2 kB / 0.4981 GB, free: 10.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1192, allocations: 346.8 kB / 0.4985 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.1197, allocations: 293 kB / 0.4987 GB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.1203, allocations: 352.6 kB / 0.4991 GB, free: 9.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1213, allocations: 0.6451 MB / 0.4997 GB, free: 9.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1213, allocations: 0 / 0.4997 GB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003725/0.125, allocations: 1.249 MB / 0.5009 GB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1251, allocations: 11.94 kB / 0.5009 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1251, allocations: 7.875 kB / 0.5009 GB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.1289, allocations: 0.7762 MB / 0.5017 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.1295, allocations: 87.89 kB / 0.5018 GB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.1385, allocations: 4.179 MB / 0.5059 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.139, allocations: 55.61 kB / 0.5059 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.139, allocations: 23.94 kB / 0.5059 GB, free: 2.809 MB / 366.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.0002997/0.1393, allocations: 157.8 kB / 0.5061 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.1394, allocations: 31.81 kB / 0.5061 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.1431, allocations: 1.214 MB / 0.5073 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.1431, allocations: 7.984 kB / 0.5073 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1431, allocations: 4 kB / 0.5073 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1432, allocations: 0 / 0.5073 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.1439, allocations: 0.5599 MB / 0.5079 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1439, allocations: 0 / 0.5079 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.1441, allocations: 63.91 kB / 0.5079 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/0.1478, allocations: 0.7483 MB / 0.5087 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.1479, allocations: 12 kB / 0.5087 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/0.1557, allocations: 4.135 MB / 0.5127 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1557, allocations: 0 / 0.5127 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.1592, allocations: 1.222 MB / 0.5139 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1593, allocations: 112.8 kB / 0.514 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.1594, allocations: 15.94 kB / 0.514 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.1598, allocations: 23.98 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1599, allocations: 52.25 kB / 0.5141 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.16, allocations: 12 kB / 0.5141 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1602, allocations: 190 kB / 0.5143 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 0.5143 GB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006334/0.1608, allocations: 175.9 kB / 0.5145 GB, free: 9.844 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.003944/0.1648, allocations: 1.775 MB / 0.5162 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.1674, allocations: 0.9842 MB / 0.5171 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1674, allocations: 4 kB / 0.5172 GB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.1694, allocations: 0.6492 MB / 0.5178 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1698, allocations: 32.89 kB / 0.5178 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.1808, allocations: 5.154 MB / 0.5228 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1812, allocations: 0.8013 MB / 0.5236 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.1814, allocations: 50.92 kB / 0.5237 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.1816, allocations: 127.3 kB / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1816, allocations: 0 / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.2263, allocations: 15.34 MB / 0.5388 GB, free: 1.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.81, allocations: 4 kB / 0.5388 GB, free: 1 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.610079129983205] Failed to read output from testmodel.py, exit status != 0: 12.965620963019319 12.993597239 12.888213039 Calling exit ...