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.0014/0.0014, allocations: 120.9 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.001538/0.001538, allocations: 209.6 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.538/1.538, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.04599/0.04599, allocations: 6.133 MB / 316.4 MB, free: 1.137 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.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.001577/0.001577, allocations: 47.52 kB / 439.9 MB, free: 40.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09161, allocations: 54.99 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002909/0.09452, allocations: 2.708 MB / 497.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.09669, allocations: 1.808 MB / 499.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.09696, allocations: 8 kB / 499.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.09739, allocations: 183 kB / 499.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.09798, allocations: 254.4 kB / 499.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.09975, allocations: 1.105 MB / 0.4892 GB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005692/0.1003, allocations: 0.5015 MB / 0.4897 GB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1005, allocations: 104.4 kB / 0.4898 GB, free: 3.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1007, allocations: 215.2 kB / 0.49 GB, free: 3.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1009, allocations: 250.9 kB / 0.4903 GB, free: 3.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1009, allocations: 40 kB / 0.4903 GB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.1014, allocations: 271.7 kB / 0.4906 GB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.1015, allocations: 99.66 kB / 0.4907 GB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1016, allocations: 250.7 kB / 0.4909 GB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.1024, allocations: 0.6772 MB / 0.4916 GB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1024, allocations: 0 / 0.4916 GB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1024, allocations: 0 / 0.4916 GB, free: 2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.1024, allocations: 0 / 0.4916 GB, free: 2 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006495/0.1089, allocations: 1.684 MB / 0.4932 GB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.109, allocations: 12.03 kB / 0.4932 GB, free: 256 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.49e-05/0.109, allocations: 13.17 kB / 0.4932 GB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.581e-05/0.1091, allocations: 70.72 kB / 0.4933 GB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1093, allocations: 60.61 kB / 0.4934 GB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.1098, allocations: 364.1 kB / 0.4937 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.1099, allocations: 29.38 kB / 0.4937 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.11, allocations: 48.38 kB / 0.4938 GB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1113, allocations: 0.6045 MB / 0.4944 GB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1113, allocations: 0 / 0.4944 GB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.1113, allocations: 16 kB / 0.4944 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1114, allocations: 12 kB / 0.4944 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1125, allocations: 0.5428 MB / 0.4949 GB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.1161, allocations: 1.61 MB / 0.4965 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.1175, allocations: 0.8185 MB / 0.4973 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.1182, allocations: 354.4 kB / 0.4976 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.1202, allocations: 1.338 MB / 0.4989 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.1202, allocations: 39 kB / 0.499 GB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.1202, allocations: 0 / 0.499 GB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.01083/0.131, allocations: 2.623 MB / 0.5015 GB, free: 7.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.1311, allocations: 115.1 kB / 0.5017 GB, free: 7.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.1316, allocations: 341.5 kB / 0.502 GB, free: 6.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/0.1317, allocations: 37.7 kB / 0.502 GB, free: 6.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1318, allocations: 213.4 kB / 0.5022 GB, free: 6.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.132, allocations: 186.3 kB / 0.5024 GB, free: 6.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.1323, allocations: 146.6 kB / 0.5025 GB, free: 6.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1325, allocations: 354.8 kB / 0.5029 GB, free: 6.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.1332, allocations: 397.9 kB / 0.5033 GB, free: 5.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.134, allocations: 0.505 MB / 0.5037 GB, free: 5.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.1355, allocations: 0.9454 MB / 0.5047 GB, free: 4.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1355, allocations: 0 / 0.5047 GB, free: 4.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005206/0.1407, allocations: 1.758 MB / 0.5064 GB, free: 2.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1408, allocations: 8 kB / 0.5064 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1408, allocations: 4 kB / 0.5064 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005265/0.146, allocations: 1.092 MB / 0.5075 GB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/0.1466, allocations: 119.9 kB / 0.5076 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.1572, allocations: 5.233 MB / 0.5127 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.1579, allocations: 71.47 kB / 0.5128 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.1579, allocations: 35.98 kB / 0.5128 GB, free: 11.63 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.0002674/0.1582, allocations: 178.3 kB / 0.513 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1583, allocations: 47.91 kB / 0.513 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.1634, allocations: 1.585 MB / 0.5146 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.1635, allocations: 11.94 kB / 0.5146 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.1635, allocations: 11.98 kB / 0.5146 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1635, allocations: 3.938 kB / 0.5146 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1645, allocations: 0.6775 MB / 0.5152 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1645, allocations: 0 / 0.5152 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.1648, allocations: 67.91 kB / 0.5153 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/0.1699, allocations: 1.016 MB / 0.5163 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.17, allocations: 15.98 kB / 0.5163 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.1804, allocations: 5.212 MB / 0.5214 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1804, allocations: 4 kB / 0.5214 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/0.1854, allocations: 1.589 MB / 0.523 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1855, allocations: 132.7 kB / 0.5231 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.1856, allocations: 12 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.1861, allocations: 27.92 kB / 0.5231 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.1863, allocations: 52.44 kB / 0.5232 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.1863, allocations: 16 kB / 0.5232 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.1866, allocations: 227.2 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1866, allocations: 0 / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.1875, allocations: 235.9 kB / 0.5236 GB, free: 280 kB / 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.005361/0.1928, allocations: 2.161 MB / 0.5257 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.1962, allocations: 1.251 MB / 0.527 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.1962, allocations: 0 / 0.527 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.1986, allocations: 0.7723 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.1991, allocations: 45.36 kB / 0.5278 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.215, allocations: 6.642 MB / 0.5342 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.2156, allocations: 0.8371 MB / 0.5351 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.2159, allocations: 55.25 kB / 0.5351 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.2161, allocations: 155.4 kB / 0.5353 GB, free: 4.141 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2161, allocations: 0 / 0.5353 GB, free: 4.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05154/0.2677, allocations: 17.72 MB / 0.5526 GB, free: 2.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.26, allocations: 7.375 kB / 0.5526 GB, free: 2.617 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.157260035048239] Failed to read output from testmodel.py, exit status != 0: 11.40926706197206 11.423754274 11.31830317 Calling exit ...