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.001348/0.001348, allocations: 105 kB / 20.53 MB, free: 1.43 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.001603/0.001603, allocations: 212.1 kB / 23.83 MB, free: 4.641 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.495/1.495, allocations: 230.6 MB / 257.6 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.03935/0.03935, allocations: 6.134 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.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.00156/0.00156, allocations: 43.92 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 55.04 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002954/0.105, allocations: 1.549 MB / 0.4901 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1073, allocations: 1.625 MB / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.1074, allocations: 4 kB / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1078, allocations: 127.3 kB / 0.4918 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.108, allocations: 111.3 kB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.11, allocations: 0.9869 MB / 0.4929 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.1104, allocations: 254.8 kB / 0.4931 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1106, allocations: 66.33 kB / 0.4932 GB, free: 9.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1107, allocations: 95.7 kB / 0.4933 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1109, allocations: 135.4 kB / 0.4934 GB, free: 9.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.111, allocations: 20 kB / 0.4934 GB, free: 9.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.1115, allocations: 239.7 kB / 0.4937 GB, free: 9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1115, allocations: 51.78 kB / 0.4937 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.1116, allocations: 111.5 kB / 0.4938 GB, free: 8.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1123, allocations: 422.6 kB / 0.4942 GB, free: 8.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1123, allocations: 4 kB / 0.4942 GB, free: 8.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1123, allocations: 0 / 0.4942 GB, free: 8.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1123, allocations: 0 / 0.4942 GB, free: 8.422 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.003275/0.1155, allocations: 0.8362 MB / 0.495 GB, free: 7.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1156, allocations: 12.02 kB / 0.4951 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.1156, allocations: 11.97 kB / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.1157, allocations: 54.73 kB / 0.4951 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.1157, allocations: 24.8 kB / 0.4951 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1161, allocations: 194.2 kB / 0.4953 GB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1161, allocations: 20.38 kB / 0.4953 GB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.1161, allocations: 16.38 kB / 0.4954 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.1167, allocations: 289.8 kB / 0.4956 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1167, allocations: 0 / 0.4956 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1167, allocations: 4 kB / 0.4956 GB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1167, allocations: 4 kB / 0.4956 GB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.1172, allocations: 295.7 kB / 0.4959 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.119, allocations: 1.12 MB / 0.497 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.1195, allocations: 322.5 kB / 0.4973 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1198, allocations: 169.3 kB / 0.4975 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.1198, allocations: 7.984 kB / 0.4975 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.1199, allocations: 46.5 kB / 0.4975 GB, free: 4.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.1199, allocations: 0 / 0.4975 GB, free: 4.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.008849/0.1287, allocations: 1.485 MB / 0.499 GB, free: 3.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1288, allocations: 55.41 kB / 0.499 GB, free: 3.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.129, allocations: 174.9 kB / 0.4992 GB, free: 3.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.1291, allocations: 37.7 kB / 0.4992 GB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.1292, allocations: 117 kB / 0.4994 GB, free: 2.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1293, allocations: 111.1 kB / 0.4995 GB, free: 2.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1295, allocations: 61.64 kB / 0.4995 GB, free: 2.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1296, allocations: 334.8 kB / 0.4998 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.13, allocations: 175.9 kB / 0.5 GB, free: 2.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.1303, allocations: 176.3 kB / 0.5002 GB, free: 2.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.1309, allocations: 392.6 kB / 0.5006 GB, free: 1.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1309, allocations: 0 / 0.5006 GB, free: 1.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005285/0.1362, allocations: 1.009 MB / 0.5015 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.1363, allocations: 8 kB / 0.5015 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1363, allocations: 0 / 0.5015 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005966/0.1423, allocations: 0.7265 MB / 0.5023 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1425, allocations: 35.98 kB / 0.5023 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.1509, allocations: 3.558 MB / 0.5058 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1512, allocations: 27.77 kB / 0.5058 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.1513, allocations: 12 kB / 0.5058 GB, free: 12.17 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.0001983/0.1515, allocations: 133.8 kB / 0.5059 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.1515, allocations: 27.8 kB / 0.506 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/0.1571, allocations: 1.02 MB / 0.5069 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1571, allocations: 4 kB / 0.507 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1571, allocations: 4 kB / 0.507 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1571, allocations: 3.938 kB / 0.507 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.1577, allocations: 400.3 kB / 0.5073 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1577, allocations: 0 / 0.5073 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1579, allocations: 43.91 kB / 0.5074 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005827/0.1637, allocations: 0.7172 MB / 0.5081 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.1638, allocations: 15.98 kB / 0.5081 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008242/0.172, allocations: 3.49 MB / 0.5115 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.172, allocations: 0 / 0.5115 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.1775, allocations: 1.069 MB / 0.5126 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.1776, allocations: 27.73 kB / 0.5126 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.1776, allocations: 8 kB / 0.5126 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.1779, allocations: 19.98 kB / 0.5126 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.1781, allocations: 31.94 kB / 0.5126 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.1781, allocations: 11.98 kB / 0.5126 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1783, allocations: 132.3 kB / 0.5128 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1783, allocations: 0 / 0.5128 GB, free: 4.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.1789, allocations: 116 kB / 0.5129 GB, free: 4.719 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.005886/0.1848, allocations: 1.626 MB / 0.5145 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.1867, allocations: 0.7128 MB / 0.5152 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1867, allocations: 0 / 0.5152 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.1881, allocations: 0.506 MB / 0.5157 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1884, allocations: 27.98 kB / 0.5157 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1965/0.385, allocations: 4.004 MB / 0.5196 GB, free: 28.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3852, allocations: 0.75 MB / 0.5203 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.3853, allocations: 30.31 kB / 0.5204 GB, free: 28.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.3854, allocations: 67.69 kB / 0.5204 GB, free: 28.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3854, allocations: 0 / 0.5204 GB, free: 28.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.4232, allocations: 12.36 MB / 0.5325 GB, free: 25.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.76, allocations: 5.656 kB / 0.5325 GB, free: 25.56 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.428895796998404] Failed to read output from testmodel.py, exit status != 0: 13.929142381995916 13.941809822 13.827132007 Calling exit ...