Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001635/0.001635, allocations: 101 kB / 20.52 MB, free: 1.449 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.001431/0.001431, allocations: 215.4 kB / 23.84 MB, free: 4.664 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.489/1.489, allocations: 230.6 MB / 257.6 MB, free: 7.969 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.03813/0.03813, allocations: 6.128 MB / 320.2 MB, free: 12.93 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.94 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 55.01 MB / 0.4886 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003477/0.1148, allocations: 2.265 MB / 0.4908 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1172, allocations: 1.738 MB / 0.4925 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1173, allocations: 4 kB / 0.4925 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1177, allocations: 155.1 kB / 0.4926 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004518/0.1182, allocations: 210.7 kB / 0.4928 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1203, allocations: 1.216 MB / 0.494 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1209, allocations: 410 kB / 0.4944 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1211, allocations: 83.69 kB / 0.4945 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1213, allocations: 171.4 kB / 0.4947 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.1216, allocations: 203.1 kB / 0.4949 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.1217, allocations: 32 kB / 0.4949 GB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.1222, allocations: 275.7 kB / 0.4951 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.1223, allocations: 83.67 kB / 0.4952 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1225, allocations: 191 kB / 0.4954 GB, free: 7.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007621/0.1232, allocations: 0.5799 MB / 0.496 GB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1232, allocations: 3.984 kB / 0.496 GB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1233, allocations: 0 / 0.496 GB, free: 6.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.1233, allocations: 0 / 0.496 GB, free: 6.617 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005284/0.1285, allocations: 1.312 MB / 0.4973 GB, free: 5.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1286, allocations: 12.03 kB / 0.4973 GB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.1286, allocations: 4.844 kB / 0.4973 GB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.1287, allocations: 66.73 kB / 0.4973 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1288, allocations: 44.66 kB / 0.4974 GB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1292, allocations: 261.4 kB / 0.4976 GB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1292, allocations: 29.03 kB / 0.4977 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.1293, allocations: 32.38 kB / 0.4977 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.1301, allocations: 490.1 kB / 0.4982 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1301, allocations: 0 / 0.4982 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.1301, allocations: 12 kB / 0.4982 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1301, allocations: 4 kB / 0.4982 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.1308, allocations: 434.5 kB / 0.4986 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.1333, allocations: 1.375 MB / 0.4999 GB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.1342, allocations: 482.4 kB / 0.5004 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.1346, allocations: 252.8 kB / 0.5006 GB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.1347, allocations: 11.97 kB / 0.5006 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1347, allocations: 46.5 kB / 0.5007 GB, free: 1.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.1347, allocations: 0 / 0.5007 GB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007014/0.1417, allocations: 1.774 MB / 0.5024 GB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.1418, allocations: 110.8 kB / 0.5025 GB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.1422, allocations: 269.8 kB / 0.5028 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.1422, allocations: 37.7 kB / 0.5028 GB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1424, allocations: 169 kB / 0.503 GB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.1425, allocations: 158.6 kB / 0.5031 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.1427, allocations: 102.3 kB / 0.5032 GB, free: 14.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1429, allocations: 350.8 kB / 0.5036 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.1434, allocations: 297.2 kB / 0.5038 GB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/0.1439, allocations: 349.7 kB / 0.5042 GB, free: 13.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.145, allocations: 0.6663 MB / 0.5048 GB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.145, allocations: 0 / 0.5048 GB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00367/0.1487, allocations: 1.259 MB / 0.5061 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1487, allocations: 7.938 kB / 0.5061 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.1487, allocations: 0 / 0.5061 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003692/0.1524, allocations: 0.7802 MB / 0.5068 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.1529, allocations: 83.89 kB / 0.5069 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.161, allocations: 4.064 MB / 0.5109 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.1615, allocations: 66.92 kB / 0.5109 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.1615, allocations: 19.94 kB / 0.511 GB, free: 6.898 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.0002423/0.1618, allocations: 169.7 kB / 0.5111 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.1619, allocations: 31.81 kB / 0.5112 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.1656, allocations: 1.202 MB / 0.5123 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1656, allocations: 4 kB / 0.5123 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1656, allocations: 0 / 0.5123 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1656, allocations: 3.984 kB / 0.5123 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.1662, allocations: 0.5433 MB / 0.5129 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1663, allocations: 0 / 0.5129 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.1665, allocations: 67.91 kB / 0.5129 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/0.17, allocations: 0.746 MB / 0.5137 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.1701, allocations: 12 kB / 0.5137 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2015/0.3716, allocations: 4.026 MB / 0.5176 GB, free: 29.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3716, allocations: 0 / 0.5176 GB, free: 29.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.375, allocations: 1.227 MB / 0.5188 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3751, allocations: 43.33 kB / 0.5188 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.3752, allocations: 8.219 kB / 0.5188 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.3756, allocations: 30.23 kB / 0.5189 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.3758, allocations: 40.41 kB / 0.5189 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.3758, allocations: 16.86 kB / 0.5189 GB, free: 28.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.376, allocations: 188.9 kB / 0.5191 GB, free: 28.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 0.5191 GB, free: 28.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007725/0.3768, allocations: 176.1 kB / 0.5193 GB, free: 28.79 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.003924/0.3807, allocations: 1.786 MB / 0.521 GB, free: 28.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.3834, allocations: 0.9926 MB / 0.522 GB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.3834, allocations: 1 kB / 0.522 GB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.3854, allocations: 0.6561 MB / 0.5226 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3859, allocations: 34.81 kB / 0.5227 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3962, allocations: 5.175 MB / 0.5277 GB, free: 26.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3965, allocations: 0.7974 MB / 0.5285 GB, free: 25.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.3967, allocations: 50.16 kB / 0.5285 GB, free: 25.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.3968, allocations: 122.2 kB / 0.5287 GB, free: 25.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3968, allocations: 1.156 kB / 0.5287 GB, free: 25.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.4409, allocations: 15.74 MB / 0.544 GB, free: 20.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.77, allocations: 10.59 kB / 0.5441 GB, free: 20.36 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.513633689959534] Failed to read output from testmodel.py, exit status != 0: 13.945113176945597 13.956838391 13.830789575 Calling exit ...