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.001395/0.001395, 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.001658/0.001658, allocations: 214.8 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.503/1.503, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.04146/0.04146, allocations: 6.149 MB / 320.1 MB, free: 12.83 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 59.91 kB / 445.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 55.01 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003779/0.1053, allocations: 2.336 MB / 0.4908 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1078, allocations: 1.621 MB / 0.4924 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.1081, allocations: 11.94 kB / 0.4924 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.1086, allocations: 163 kB / 0.4925 GB, free: 9.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.1093, allocations: 218.6 kB / 0.4927 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.1117, allocations: 1.128 MB / 0.4938 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.1124, allocations: 453.9 kB / 0.4943 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1126, allocations: 114.4 kB / 0.4944 GB, free: 7.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.1128, allocations: 191.3 kB / 0.4946 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.1131, allocations: 219.1 kB / 0.4948 GB, free: 7.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.1132, allocations: 36 kB / 0.4948 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005004/0.1137, allocations: 287.7 kB / 0.4951 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1138, allocations: 91.62 kB / 0.4952 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1139, allocations: 175.2 kB / 0.4953 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008145/0.1148, allocations: 0.6461 MB / 0.496 GB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1148, allocations: 0 / 0.496 GB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1148, allocations: 0 / 0.496 GB, free: 6.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1148, allocations: 0 / 0.496 GB, free: 6.328 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.005519/0.1203, allocations: 1.346 MB / 0.4973 GB, free: 4.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1203, allocations: 12.03 kB / 0.4973 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.199e-05/0.1204, allocations: 8.844 kB / 0.4973 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.1205, allocations: 74.72 kB / 0.4974 GB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1206, allocations: 48.66 kB / 0.4974 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.1211, allocations: 273.3 kB / 0.4977 GB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.1212, allocations: 32.97 kB / 0.4977 GB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.1213, allocations: 40.38 kB / 0.4978 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1224, allocations: 0.7185 MB / 0.4985 GB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1224, allocations: 3.938 kB / 0.4985 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.1224, allocations: 16 kB / 0.4985 GB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1224, allocations: 8 kB / 0.4985 GB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.1232, allocations: 466.4 kB / 0.4989 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.1258, allocations: 1.198 MB / 0.5001 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/0.1268, allocations: 474.4 kB / 0.5005 GB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.1272, allocations: 232.8 kB / 0.5008 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/0.1272, allocations: 19.92 kB / 0.5008 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.1273, allocations: 46.5 kB / 0.5008 GB, free: 1.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.1273, allocations: 0 / 0.5008 GB, free: 1.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007811/0.1351, allocations: 1.84 MB / 0.5026 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.1352, allocations: 106.8 kB / 0.5027 GB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.1356, allocations: 273.8 kB / 0.503 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.1356, allocations: 37.7 kB / 0.503 GB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1358, allocations: 180.9 kB / 0.5032 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.136, allocations: 158.6 kB / 0.5034 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.1362, allocations: 106.3 kB / 0.5035 GB, free: 14.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1364, allocations: 338.8 kB / 0.5038 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.1369, allocations: 289.2 kB / 0.5041 GB, free: 13.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.1374, allocations: 393.1 kB / 0.5044 GB, free: 13.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1384, allocations: 0.639 MB / 0.5051 GB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1384, allocations: 0 / 0.5051 GB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003817/0.1422, allocations: 1.235 MB / 0.5063 GB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1423, allocations: 4 kB / 0.5063 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1423, allocations: 0 / 0.5063 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/0.1462, allocations: 0.772 MB / 0.507 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.1466, allocations: 87.89 kB / 0.5071 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/0.1548, allocations: 3.817 MB / 0.5108 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1553, allocations: 63.55 kB / 0.5109 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.1554, allocations: 16 kB / 0.5109 GB, free: 6.625 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.0002503/0.1556, allocations: 161.9 kB / 0.5111 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1557, allocations: 35.77 kB / 0.5111 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.1595, allocations: 1.163 MB / 0.5122 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1595, allocations: 4 kB / 0.5122 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1595, allocations: 0 / 0.5122 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1595, allocations: 3.984 kB / 0.5122 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.1637, allocations: 1.614 MB / 0.5138 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1637, allocations: 0 / 0.5138 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.164, allocations: 55.97 kB / 0.5139 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/0.1676, allocations: 0.7421 MB / 0.5146 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.1677, allocations: 8 kB / 0.5146 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.205/0.3727, allocations: 3.775 MB / 0.5183 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3727, allocations: 6.406 kB / 0.5183 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.3758, allocations: 1.166 MB / 0.5194 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.3759, allocations: 40.42 kB / 0.5195 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3759, allocations: 14.03 kB / 0.5195 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.3763, allocations: 25.5 kB / 0.5195 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3764, allocations: 44.38 kB / 0.5195 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3765, allocations: 16.92 kB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3766, allocations: 185 kB / 0.5197 GB, free: 28.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 0.5197 GB, free: 28.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006071/0.3772, allocations: 189.6 kB / 0.5199 GB, free: 28.66 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.003419/0.3806, allocations: 1.729 MB / 0.5216 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.3832, allocations: 0.9634 MB / 0.5226 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3832, allocations: 0.9375 kB / 0.5226 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.385, allocations: 0.637 MB / 0.5232 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.3855, allocations: 38.55 kB / 0.5232 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3958, allocations: 5.121 MB / 0.5282 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.396, allocations: 211.6 kB / 0.5284 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.3962, allocations: 52.28 kB / 0.5285 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3964, allocations: 134.1 kB / 0.5286 GB, free: 25.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3964, allocations: 1.188 kB / 0.5286 GB, free: 25.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.4399, allocations: 14.87 MB / 0.5431 GB, free: 20.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/13.94, allocations: 10.2 kB / 0.5431 GB, free: 20.45 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.61763425997924] Failed to read output from testmodel.py, exit status != 0: 14.116327207884751 14.128068103 14.010683594 Calling exit ...