Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001309/0.001309, 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.001376/0.001376, 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.493/1.493, 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.04405/0.04405, 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 54.28 kB / 439.9 MB, free: 40.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08848, allocations: 54.97 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002515/0.09099, allocations: 2.241 MB / 497.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.09261, allocations: 1.727 MB / 498.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.09272, allocations: 8 kB / 498.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.09304, allocations: 151.1 kB / 499 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.0934, allocations: 214.7 kB / 499.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.09504, allocations: 1.21 MB / 0.4887 GB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.0954, allocations: 410 kB / 0.4891 GB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.09555, allocations: 83.22 kB / 0.4892 GB, free: 4.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.09565, allocations: 175.3 kB / 0.4894 GB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.09584, allocations: 195.2 kB / 0.4896 GB, free: 4.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.09588, allocations: 35.98 kB / 0.4896 GB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.09624, allocations: 279.8 kB / 0.4899 GB, free: 3.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.09628, allocations: 75.64 kB / 0.4899 GB, free: 3.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.09639, allocations: 195 kB / 0.4901 GB, free: 3.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.09687, allocations: 0.58 MB / 0.4907 GB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.09688, allocations: 0 / 0.4907 GB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09688, allocations: 0 / 0.4907 GB, free: 2.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.09688, allocations: 0 / 0.4907 GB, free: 2.902 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.004909/0.1018, allocations: 1.38 MB / 0.492 GB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1018, allocations: 23.89 kB / 0.4921 GB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.1018, allocations: 4.75 kB / 0.4921 GB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.1019, allocations: 66.73 kB / 0.4921 GB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.102, allocations: 44.66 kB / 0.4922 GB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1023, allocations: 311.8 kB / 0.4925 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1023, allocations: 32.88 kB / 0.4925 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.1024, allocations: 32.38 kB / 0.4925 GB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.103, allocations: 480.7 kB / 0.493 GB, free: 444 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.103, allocations: 0 / 0.493 GB, free: 444 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.103, allocations: 16 kB / 0.493 GB, free: 428 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.103, allocations: 8 kB / 0.493 GB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.1035, allocations: 418.1 kB / 0.4934 GB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.106, allocations: 1.391 MB / 0.4948 GB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.107, allocations: 482.4 kB / 0.4952 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.1074, allocations: 244.8 kB / 0.4955 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.1075, allocations: 15.98 kB / 0.4955 GB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.1075, allocations: 38.56 kB / 0.4955 GB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.1075, allocations: 0 / 0.4955 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007663/0.1152, allocations: 1.904 MB / 0.4974 GB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.1152, allocations: 106.8 kB / 0.4975 GB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.1156, allocations: 274.6 kB / 0.4977 GB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.1157, allocations: 37.7 kB / 0.4978 GB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1158, allocations: 157.1 kB / 0.4979 GB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.116, allocations: 162.6 kB / 0.4981 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1162, allocations: 106.2 kB / 0.4982 GB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1164, allocations: 342.8 kB / 0.4985 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.1169, allocations: 293 kB / 0.4988 GB, free: 10.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.1175, allocations: 356.6 kB / 0.4991 GB, free: 9.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1185, allocations: 0.6451 MB / 0.4998 GB, free: 9.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1185, allocations: 0 / 0.4998 GB, free: 9.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00375/0.1223, allocations: 1.241 MB / 0.501 GB, free: 8.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.1223, allocations: 7.938 kB / 0.501 GB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1223, allocations: 0 / 0.501 GB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.1262, allocations: 0.7773 MB / 0.5017 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.1266, allocations: 87.88 kB / 0.5018 GB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/0.1358, allocations: 4.175 MB / 0.5059 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.1365, allocations: 55.61 kB / 0.5059 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.1366, allocations: 19.94 kB / 0.506 GB, free: 2.797 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.0003917/0.137, allocations: 168 kB / 0.5061 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.1372, allocations: 35.8 kB / 0.5062 GB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003859/0.141, allocations: 1.199 MB / 0.5073 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.141, allocations: 8 kB / 0.5073 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.141, allocations: 0 / 0.5073 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1411, allocations: 0 / 0.5073 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.1419, allocations: 0.556 MB / 0.5079 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.1419, allocations: 0 / 0.5079 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1422, allocations: 63.91 kB / 0.5079 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/0.1459, allocations: 0.7481 MB / 0.5087 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.146, allocations: 8 kB / 0.5087 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008091/0.1541, allocations: 4.144 MB / 0.5127 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1541, allocations: 0 / 0.5127 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.1578, allocations: 1.203 MB / 0.5139 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1579, allocations: 116.7 kB / 0.514 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.158, allocations: 15.98 kB / 0.514 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.1584, allocations: 27.98 kB / 0.5141 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.1586, allocations: 40.33 kB / 0.5141 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.1586, allocations: 12 kB / 0.5141 GB, free: 10.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1589, allocations: 190 kB / 0.5143 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1589, allocations: 0 / 0.5143 GB, free: 10.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006955/0.1596, allocations: 183.9 kB / 0.5145 GB, free: 9.859 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.004091/0.1636, allocations: 1.767 MB / 0.5162 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.1665, allocations: 0.9842 MB / 0.5171 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1665, allocations: 0 / 0.5171 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.1685, allocations: 0.6491 MB / 0.5178 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.1689, allocations: 32.89 kB / 0.5178 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.1803, allocations: 5.174 MB / 0.5229 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.1808, allocations: 0.7935 MB / 0.5236 GB, free: 288 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.181, allocations: 54.92 kB / 0.5237 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.1812, allocations: 123.4 kB / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1812, allocations: 0 / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/0.2245, allocations: 15.32 MB / 0.5388 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.71, allocations: 10.73 kB / 0.5388 GB, free: 0.9766 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.494920120981988] Failed to read output from testmodel.py, exit status != 0: 12.873323699983303 12.901710598 12.799464302 Calling exit ...