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.00187/0.00187, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.002386/0.002386, allocations: 216.5 kB / 23.05 MB, free: 4.945 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.0394/0.0394, allocations: 6.13 MB / 319.4 MB, free: 12.96 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.94 kB / 444.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 55.01 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.004026/0.1058, allocations: 2.647 MB / 0.4904 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1083, allocations: 1.691 MB / 0.492 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1085, allocations: 8 kB / 0.4921 GB, free: 9.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.1089, allocations: 163 kB / 0.4922 GB, free: 9.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.1095, allocations: 226.6 kB / 0.4924 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.1118, allocations: 1.221 MB / 0.4936 GB, free: 8.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006144/0.1124, allocations: 457.8 kB / 0.4941 GB, free: 7.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1126, allocations: 118.3 kB / 0.4942 GB, free: 7.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1128, allocations: 183.4 kB / 0.4943 GB, free: 7.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1131, allocations: 235 kB / 0.4946 GB, free: 7.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.1132, allocations: 36 kB / 0.4946 GB, free: 7.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.1137, allocations: 279.8 kB / 0.4949 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.1138, allocations: 87.62 kB / 0.495 GB, free: 6.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.114, allocations: 226.8 kB / 0.4952 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008264/0.1148, allocations: 0.6344 MB / 0.4958 GB, free: 6.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1148, allocations: 3.938 kB / 0.4958 GB, free: 6.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1148, allocations: 0 / 0.4958 GB, free: 6.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1148, allocations: 3.938 kB / 0.4958 GB, free: 6.082 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.005333/0.1202, allocations: 1.351 MB / 0.4971 GB, free: 4.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1202, allocations: 8.031 kB / 0.4971 GB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.67e-05/0.1203, allocations: 70.72 kB / 0.4972 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1204, allocations: 48.66 kB / 0.4972 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.1209, allocations: 277.3 kB / 0.4975 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1209, allocations: 29.03 kB / 0.4975 GB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.121, allocations: 40.36 kB / 0.4976 GB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.1219, allocations: 0.5219 MB / 0.4981 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1219, allocations: 7.875 kB / 0.4981 GB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.122, allocations: 16 kB / 0.4981 GB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.122, allocations: 8 kB / 0.4981 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007744/0.1228, allocations: 466.4 kB / 0.4986 GB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.1254, allocations: 1.454 MB / 0.5 GB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.1263, allocations: 478.2 kB / 0.5004 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.1267, allocations: 244.8 kB / 0.5007 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.1268, allocations: 11.98 kB / 0.5007 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.1268, allocations: 46.5 kB / 0.5007 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.1268, allocations: 0 / 0.5007 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006966/0.1338, allocations: 1.727 MB / 0.5024 GB, free: 15.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1339, allocations: 110.8 kB / 0.5025 GB, free: 15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.1343, allocations: 269.8 kB / 0.5028 GB, free: 14.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.1344, allocations: 37.7 kB / 0.5028 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1346, allocations: 180.9 kB / 0.503 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1347, allocations: 162.6 kB / 0.5031 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1349, allocations: 102.3 kB / 0.5032 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1351, allocations: 342.8 kB / 0.5036 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.1356, allocations: 293.2 kB / 0.5038 GB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.1361, allocations: 345.7 kB / 0.5042 GB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1371, allocations: 0.6313 MB / 0.5048 GB, free: 12.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1371, allocations: 0 / 0.5048 GB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003667/0.1408, allocations: 1.231 MB / 0.506 GB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1408, allocations: 7.984 kB / 0.506 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1408, allocations: 4 kB / 0.506 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/0.1445, allocations: 0.7734 MB / 0.5067 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.1449, allocations: 87.83 kB / 0.5068 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.1528, allocations: 3.964 MB / 0.5107 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.1532, allocations: 51.61 kB / 0.5108 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.1533, allocations: 20 kB / 0.5108 GB, free: 6.363 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.0002779/0.1535, allocations: 169.7 kB / 0.5109 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1536, allocations: 35.77 kB / 0.511 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.1573, allocations: 1.175 MB / 0.5121 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1573, allocations: 8 kB / 0.5121 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1573, allocations: 7.938 kB / 0.5121 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1573, allocations: 3.984 kB / 0.5121 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.1616, allocations: 1.751 MB / 0.5138 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.1616, allocations: 7.938 kB / 0.5139 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.1618, allocations: 59.91 kB / 0.5139 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/0.1656, allocations: 0.7383 MB / 0.5146 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.1656, allocations: 12 kB / 0.5146 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1929/0.3586, allocations: 3.906 MB / 0.5185 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3586, allocations: 0 / 0.5185 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.3619, allocations: 1.195 MB / 0.5196 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3619, allocations: 46.94 kB / 0.5197 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.362, allocations: 10.95 kB / 0.5197 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.3624, allocations: 23.12 kB / 0.5197 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.3625, allocations: 42.97 kB / 0.5197 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.3625, allocations: 15.23 kB / 0.5198 GB, free: 28.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3627, allocations: 190.2 kB / 0.5199 GB, free: 28.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3627, allocations: 3.719 kB / 0.5199 GB, free: 28.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006093/0.3633, allocations: 185.6 kB / 0.5201 GB, free: 28.5 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.003618/0.3669, allocations: 1.755 MB / 0.5218 GB, free: 27.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.3695, allocations: 0.9695 MB / 0.5228 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3695, allocations: 1.375 kB / 0.5228 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.3713, allocations: 0.6409 MB / 0.5234 GB, free: 27.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3717, allocations: 39.59 kB / 0.5234 GB, free: 27.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/0.3813, allocations: 5.124 MB / 0.5284 GB, free: 25.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3816, allocations: 0.8082 MB / 0.5292 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.3818, allocations: 57.28 kB / 0.5293 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3819, allocations: 135 kB / 0.5294 GB, free: 24.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3819, allocations: 0 / 0.5294 GB, free: 24.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.4304, allocations: 15.48 MB / 0.5445 GB, free: 19.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.86, allocations: 7.891 kB / 0.5445 GB, free: 19.09 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.472443181090057] Failed to read output from testmodel.py, exit status != 0: 13.98052133899182 14.00288385 13.884019994 Calling exit ...