Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.001319/0.001319, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001444/0.001444, allocations: 220.2 kB / 23.82 MB, free: 4.512 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.472/1.472, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.03699/0.03699, allocations: 6.136 MB / 320.1 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 55.92 kB / 445.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 55.02 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.004281/0.1119, allocations: 2.504 MB / 0.4909 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1148, allocations: 1.664 MB / 0.4926 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.1151, allocations: 8 kB / 0.4926 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.1157, allocations: 175 kB / 0.4927 GB, free: 9.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006688/0.1163, allocations: 222.5 kB / 0.493 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.1187, allocations: 1.142 MB / 0.4941 GB, free: 8.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.1195, allocations: 0.4938 MB / 0.4946 GB, free: 7.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.1198, allocations: 150.7 kB / 0.4947 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1201, allocations: 203.3 kB / 0.4949 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.1206, allocations: 250.9 kB / 0.4951 GB, free: 7.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1207, allocations: 44 kB / 0.4952 GB, free: 7.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.1213, allocations: 287.7 kB / 0.4954 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1215, allocations: 103.6 kB / 0.4955 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.1217, allocations: 203.1 kB / 0.4957 GB, free: 6.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1228, allocations: 0.7005 MB / 0.4964 GB, free: 5.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1228, allocations: 0 / 0.4964 GB, free: 5.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1228, allocations: 0 / 0.4964 GB, free: 5.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.1228, allocations: 0 / 0.4964 GB, free: 5.855 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.005667/0.1285, allocations: 1.39 MB / 0.4978 GB, free: 4.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1286, allocations: 12.03 kB / 0.4978 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.041e-05/0.1286, allocations: 9.188 kB / 0.4978 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1287, allocations: 82.66 kB / 0.4979 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1288, allocations: 52.66 kB / 0.4979 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.1293, allocations: 293.2 kB / 0.4982 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.1293, allocations: 33.38 kB / 0.4982 GB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.1294, allocations: 48.38 kB / 0.4983 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.1306, allocations: 0.7742 MB / 0.499 GB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1306, allocations: 0 / 0.499 GB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.1306, allocations: 16 kB / 0.4991 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1306, allocations: 12 kB / 0.4991 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.1314, allocations: 487.8 kB / 0.4995 GB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.1342, allocations: 1.27 MB / 0.5008 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.1351, allocations: 454.5 kB / 0.5012 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.1355, allocations: 232.8 kB / 0.5014 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.1356, allocations: 4 kB / 0.5014 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1356, allocations: 50.5 kB / 0.5015 GB, free: 480 kB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.1356, allocations: 0 / 0.5015 GB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007297/0.1429, allocations: 1.731 MB / 0.5032 GB, free: 14.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.143, allocations: 110.8 kB / 0.5033 GB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.1434, allocations: 273.7 kB / 0.5035 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/0.1435, allocations: 41.7 kB / 0.5036 GB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1436, allocations: 209.4 kB / 0.5038 GB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1438, allocations: 158.6 kB / 0.5039 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.144, allocations: 102.3 kB / 0.504 GB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1442, allocations: 342.8 kB / 0.5044 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.1447, allocations: 277.2 kB / 0.5046 GB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.1453, allocations: 377.1 kB / 0.505 GB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1463, allocations: 0.6039 MB / 0.5056 GB, free: 12.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1463, allocations: 0 / 0.5056 GB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003656/0.15, allocations: 1.2 MB / 0.5067 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.15, allocations: 8 kB / 0.5068 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.15, allocations: 0 / 0.5068 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/0.1539, allocations: 0.7601 MB / 0.5075 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.1544, allocations: 87.89 kB / 0.5076 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/0.1624, allocations: 3.709 MB / 0.5112 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.1629, allocations: 63.61 kB / 0.5113 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.163, allocations: 19.98 kB / 0.5113 GB, free: 6.23 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.0003153/0.1633, allocations: 165.9 kB / 0.5114 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1634, allocations: 35.75 kB / 0.5115 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.167, allocations: 1.14 MB / 0.5126 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.167, allocations: 11.94 kB / 0.5126 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.167, allocations: 4 kB / 0.5126 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.167, allocations: 3.984 kB / 0.5126 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.1712, allocations: 1.599 MB / 0.5142 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.1712, allocations: 4 kB / 0.5142 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.1714, allocations: 55.91 kB / 0.5142 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003499/0.1749, allocations: 0.7459 MB / 0.515 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.175, allocations: 12 kB / 0.515 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1984/0.3733, allocations: 3.648 MB / 0.5185 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3733, allocations: 0 / 0.5185 GB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.3765, allocations: 1.157 MB / 0.5197 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.3765, allocations: 49.86 kB / 0.5197 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.3766, allocations: 10.59 kB / 0.5197 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.377, allocations: 26.75 kB / 0.5197 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3771, allocations: 39.55 kB / 0.5198 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.3772, allocations: 15.94 kB / 0.5198 GB, free: 28.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.3774, allocations: 190.7 kB / 0.52 GB, free: 28.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3774, allocations: 0 / 0.52 GB, free: 28.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006652/0.378, allocations: 194.4 kB / 0.5202 GB, free: 28.71 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 (34): * Single equations (assignments): 33 * 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.003476/0.3815, allocations: 1.72 MB / 0.5218 GB, free: 28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.384, allocations: 0.9321 MB / 0.5227 GB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.384, allocations: 0 / 0.5227 GB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.3858, allocations: 0.6198 MB / 0.5234 GB, free: 27.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3862, allocations: 40.62 kB / 0.5234 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3963, allocations: 5.049 MB / 0.5283 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3965, allocations: 219.3 kB / 0.5285 GB, free: 25.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.3968, allocations: 51.92 kB / 0.5286 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.397, allocations: 151.7 kB / 0.5287 GB, free: 25.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.397, allocations: 0 / 0.5287 GB, free: 25.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.4407, allocations: 14.65 MB / 0.543 GB, free: 20.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.86, allocations: 5.078 kB / 0.543 GB, free: 20.56 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.534388977917843] Failed to read output from testmodel.py, exit status != 0: 14.033027696888894 14.043556191 13.91845968 Calling exit ...