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.001255/0.001255, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001737/0.001737, allocations: 221.7 kB / 23.03 MB, free: 5.016 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.03929/0.03929, allocations: 6.135 MB / 319.3 MB, free: 12.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 47.92 kB / 444.4 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 55.02 MB / 499.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.004749/0.1317, allocations: 1.995 MB / 0.4897 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.1355, allocations: 1.649 MB / 0.4913 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1358, allocations: 8 kB / 0.4913 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.1365, allocations: 151.1 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008991/0.1374, allocations: 214.7 kB / 0.4917 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.1404, allocations: 1.123 MB / 0.4928 GB, free: 8.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008443/0.1412, allocations: 402.1 kB / 0.4931 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.1415, allocations: 75.69 kB / 0.4932 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.1418, allocations: 171.3 kB / 0.4934 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1422, allocations: 183.1 kB / 0.4935 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.1423, allocations: 32 kB / 0.4936 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/0.1432, allocations: 259.7 kB / 0.4938 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.1433, allocations: 79.67 kB / 0.4939 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.1435, allocations: 155.2 kB / 0.494 GB, free: 7.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1447, allocations: 0.5916 MB / 0.4946 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1447, allocations: 0 / 0.4946 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1447, allocations: 4 kB / 0.4946 GB, free: 6.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1447, allocations: 0 / 0.4946 GB, free: 6.957 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.007764/0.1525, allocations: 1.304 MB / 0.4959 GB, free: 5.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1525, allocations: 8.031 kB / 0.4959 GB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.1526, allocations: 66.73 kB / 0.496 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1528, allocations: 44.66 kB / 0.496 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.1534, allocations: 261.4 kB / 0.4963 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.1534, allocations: 25.03 kB / 0.4963 GB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1535, allocations: 32.38 kB / 0.4963 GB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1549, allocations: 0.6719 MB / 0.497 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1549, allocations: 3.938 kB / 0.497 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.155, allocations: 15.94 kB / 0.497 GB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.155, allocations: 12 kB / 0.497 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1561, allocations: 438.4 kB / 0.4974 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.1598, allocations: 1.119 MB / 0.4985 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.1613, allocations: 486.4 kB / 0.499 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.1619, allocations: 248.8 kB / 0.4992 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.609e-05/0.162, allocations: 8 kB / 0.4992 GB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.1621, allocations: 42.5 kB / 0.4993 GB, free: 2.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.717e-06/0.1621, allocations: 0 / 0.4993 GB, free: 2.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.01005/0.1721, allocations: 1.778 MB / 0.501 GB, free: 228 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1722, allocations: 114.8 kB / 0.5011 GB, free: 88 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.1728, allocations: 269.8 kB / 0.5014 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.1729, allocations: 37.7 kB / 0.5014 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.173, allocations: 161.1 kB / 0.5016 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.1732, allocations: 154.6 kB / 0.5017 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.1735, allocations: 106.3 kB / 0.5018 GB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1737, allocations: 346.8 kB / 0.5021 GB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.1745, allocations: 297.2 kB / 0.5024 GB, free: 14.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.1753, allocations: 405.1 kB / 0.5028 GB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.1769, allocations: 0.6586 MB / 0.5035 GB, free: 13.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1769, allocations: 4.031 kB / 0.5035 GB, free: 13.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00558/0.1825, allocations: 1.251 MB / 0.5047 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1825, allocations: 7.938 kB / 0.5047 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1825, allocations: 4 kB / 0.5047 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005593/0.1881, allocations: 0.7734 MB / 0.5054 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.1887, allocations: 87.89 kB / 0.5055 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.2007, allocations: 3.988 MB / 0.5094 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/0.2014, allocations: 55.56 kB / 0.5095 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.2015, allocations: 19.98 kB / 0.5095 GB, free: 7.324 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.000345/0.2018, allocations: 161.7 kB / 0.5096 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.202, allocations: 39.75 kB / 0.5097 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.2073, allocations: 1.214 MB / 0.5109 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.2073, allocations: 8 kB / 0.5109 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2073, allocations: 0 / 0.5109 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.2073, allocations: 3.984 kB / 0.5109 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.2083, allocations: 432.7 kB / 0.5113 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2083, allocations: 3.984 kB / 0.5113 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.2086, allocations: 59.92 kB / 0.5114 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005368/0.214, allocations: 0.7452 MB / 0.5121 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.2141, allocations: 16 kB / 0.5121 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.2257, allocations: 3.928 MB / 0.5159 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2257, allocations: 3.938 kB / 0.5159 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2267/0.4524, allocations: 1.227 MB / 0.5171 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4525, allocations: 39.48 kB / 0.5172 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4526, allocations: 8.281 kB / 0.5172 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.4531, allocations: 26.48 kB / 0.5172 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.4533, allocations: 38.45 kB / 0.5172 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.4533, allocations: 15.39 kB / 0.5173 GB, free: 30.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4535, allocations: 192.5 kB / 0.5174 GB, free: 30.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4535, allocations: 1.469 kB / 0.5174 GB, free: 30.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007224/0.4542, allocations: 174.2 kB / 0.5176 GB, free: 30.03 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.003628/0.4579, allocations: 1.784 MB / 0.5194 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.4605, allocations: 0.9901 MB / 0.5203 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4605, allocations: 6.438 kB / 0.5203 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.4624, allocations: 0.6572 MB / 0.521 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.4629, allocations: 32.91 kB / 0.521 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4734, allocations: 5.164 MB / 0.526 GB, free: 27.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4737, allocations: 194.5 kB / 0.5262 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.4739, allocations: 53.67 kB / 0.5263 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4741, allocations: 121.7 kB / 0.5264 GB, free: 27.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4741, allocations: 3.5 kB / 0.5264 GB, free: 27.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.5192, allocations: 15.56 MB / 0.5416 GB, free: 21.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.48, allocations: 3.938 kB / 0.5416 GB, free: 21.73 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.033715087920427] Failed to read output from testmodel.py, exit status != 0: 13.601732783019543 13.623128053 13.47419132 Calling exit ...