Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001399/0.001399, 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.001631/0.001631, allocations: 217.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.493/1.493, 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.04043/0.04043, allocations: 6.139 MB / 320.1 MB, free: 12.75 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 43.92 kB / 445.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 55.02 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002644/0.1066, allocations: 1.39 MB / 0.4899 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1088, allocations: 1.555 MB / 0.4914 GB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1089, allocations: 4 kB / 0.4914 GB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1092, allocations: 123.3 kB / 0.4915 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1095, allocations: 115.2 kB / 0.4916 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1113, allocations: 0.9048 MB / 0.4925 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.1117, allocations: 246.9 kB / 0.4927 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1118, allocations: 52.78 kB / 0.4928 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.112, allocations: 103.6 kB / 0.4929 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1122, allocations: 139.5 kB / 0.493 GB, free: 9.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.1123, allocations: 23.94 kB / 0.493 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.1127, allocations: 231.8 kB / 0.4932 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1127, allocations: 51.83 kB / 0.4933 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1129, allocations: 91.53 kB / 0.4934 GB, free: 8.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.1134, allocations: 430.5 kB / 0.4938 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.1134, allocations: 3.984 kB / 0.4938 GB, free: 8.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1134, allocations: 0 / 0.4938 GB, free: 8.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1134, allocations: 0 / 0.4938 GB, free: 8.504 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003267/0.1167, allocations: 0.8323 MB / 0.4946 GB, free: 7.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1168, allocations: 8.031 kB / 0.4946 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.331e-05/0.1168, allocations: 11.97 kB / 0.4946 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.1169, allocations: 54.73 kB / 0.4947 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.1169, allocations: 24.8 kB / 0.4947 GB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1172, allocations: 194.2 kB / 0.4949 GB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1173, allocations: 20.36 kB / 0.4949 GB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.1173, allocations: 20.38 kB / 0.4949 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.1179, allocations: 440.1 kB / 0.4954 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1179, allocations: 0 / 0.4954 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1179, allocations: 4 kB / 0.4954 GB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1179, allocations: 4 kB / 0.4954 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.1184, allocations: 299.6 kB / 0.4956 GB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.1199, allocations: 0.7257 MB / 0.4964 GB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.1205, allocations: 326.5 kB / 0.4967 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1207, allocations: 173.2 kB / 0.4968 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.1208, allocations: 4 kB / 0.4968 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1208, allocations: 42.56 kB / 0.4969 GB, free: 5.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.1208, allocations: 0 / 0.4969 GB, free: 5.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.009145/0.13, allocations: 1.497 MB / 0.4983 GB, free: 3.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.13, allocations: 55.41 kB / 0.4984 GB, free: 3.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1302, allocations: 178.9 kB / 0.4986 GB, free: 3.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.1303, allocations: 33.7 kB / 0.4986 GB, free: 3.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1304, allocations: 117 kB / 0.4987 GB, free: 3.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1305, allocations: 103.1 kB / 0.4988 GB, free: 3.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1306, allocations: 57.7 kB / 0.4989 GB, free: 3.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1308, allocations: 334.8 kB / 0.4992 GB, free: 2.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.1311, allocations: 171.9 kB / 0.4993 GB, free: 2.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1314, allocations: 184.3 kB / 0.4995 GB, free: 2.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/0.132, allocations: 400.5 kB / 0.4999 GB, free: 2.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.132, allocations: 4 kB / 0.4999 GB, free: 2.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005475/0.1375, allocations: 1.005 MB / 0.5009 GB, free: 1.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1375, allocations: 4 kB / 0.5009 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1375, allocations: 0 / 0.5009 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.1434, allocations: 0.717 MB / 0.5016 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1436, allocations: 39.92 kB / 0.5016 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007833/0.1514, allocations: 3.464 MB / 0.505 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1516, allocations: 27.78 kB / 0.505 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.1517, allocations: 12 kB / 0.505 GB, free: 12.63 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 (25): * Single equations (assignments): 24 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.1518, allocations: 141.8 kB / 0.5052 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.1519, allocations: 23.8 kB / 0.5052 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/0.1573, allocations: 1.028 MB / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1573, allocations: 0 / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1573, allocations: 4 kB / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.1573, allocations: 3.984 kB / 0.5062 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1578, allocations: 332.5 kB / 0.5065 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1578, allocations: 3.938 kB / 0.5065 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1579, allocations: 39.97 kB / 0.5066 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.1637, allocations: 0.7148 MB / 0.5073 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.1638, allocations: 8 kB / 0.5073 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00749/0.1713, allocations: 3.414 MB / 0.5106 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1713, allocations: 160 / 0.5106 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005273/0.1765, allocations: 1.058 MB / 0.5116 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1766, allocations: 27.78 kB / 0.5117 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.1766, allocations: 8 kB / 0.5117 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1769, allocations: 23.92 kB / 0.5117 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.177, allocations: 35.88 kB / 0.5117 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.177, allocations: 12 kB / 0.5118 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1772, allocations: 128.3 kB / 0.5119 GB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 8 kB / 0.5119 GB, free: 5.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.1777, allocations: 116 kB / 0.512 GB, free: 5.32 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 (23): * Single equations (assignments): 22 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005585/0.1833, allocations: 1.626 MB / 0.5136 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.1852, allocations: 0.7128 MB / 0.5143 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.1852, allocations: 4 kB / 0.5143 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.1866, allocations: 0.5022 MB / 0.5148 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.187, allocations: 24 kB / 0.5148 GB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2384/0.4255, allocations: 4.005 MB / 0.5187 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4256, allocations: 142.7 kB / 0.5188 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.4257, allocations: 27.39 kB / 0.5189 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.4258, allocations: 68.27 kB / 0.5189 GB, free: 29.34 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4258, allocations: 0 / 0.5189 GB, free: 29.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4653, allocations: 12.11 MB / 0.5308 GB, free: 26.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.87, allocations: 6.25 kB / 0.5308 GB, free: 26.84 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.536071390961297] Failed to read output from testmodel.py, exit status != 0: 14.040726015926339 14.057822481 13.941479122 Calling exit ...