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.001694/0.001694, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.001953/0.001953, allocations: 225.2 kB / 23.05 MB, free: 4.996 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.06034/0.06034, allocations: 6.138 MB / 319.4 MB, free: 12.99 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 51.92 kB / 444.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1224, allocations: 55.02 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003883/0.1263, allocations: 2.253 MB / 0.49 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1295, allocations: 1.731 MB / 0.4917 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.13, allocations: 8 kB / 0.4917 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.1307, allocations: 151.1 kB / 0.4919 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009997/0.1317, allocations: 206.7 kB / 0.4921 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.1345, allocations: 1.222 MB / 0.4933 GB, free: 8.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.1354, allocations: 410 kB / 0.4936 GB, free: 8.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.1357, allocations: 87.69 kB / 0.4937 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.136, allocations: 171.3 kB / 0.4939 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.1365, allocations: 195.2 kB / 0.4941 GB, free: 7.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1367, allocations: 35.94 kB / 0.4941 GB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1377, allocations: 275.7 kB / 0.4944 GB, free: 7.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1379, allocations: 79.67 kB / 0.4944 GB, free: 7.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.1382, allocations: 195 kB / 0.4946 GB, free: 7.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1396, allocations: 0.58 MB / 0.4952 GB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1396, allocations: 4 kB / 0.4952 GB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1396, allocations: 0 / 0.4952 GB, free: 6.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.1397, allocations: 0 / 0.4952 GB, free: 6.707 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.006044/0.1457, allocations: 1.312 MB / 0.4965 GB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.1458, allocations: 8.031 kB / 0.4965 GB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1459, allocations: 62.72 kB / 0.4966 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.146, allocations: 48.66 kB / 0.4966 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.1465, allocations: 261.4 kB / 0.4968 GB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1466, allocations: 29.02 kB / 0.4969 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.1466, allocations: 36.31 kB / 0.4969 GB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.1475, allocations: 478.4 kB / 0.4974 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1475, allocations: 3.938 kB / 0.4974 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1476, allocations: 15.94 kB / 0.4974 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1476, allocations: 4 kB / 0.4974 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.1484, allocations: 438.5 kB / 0.4978 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.1513, allocations: 1.367 MB / 0.4991 GB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1523, allocations: 498.3 kB / 0.4996 GB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.1527, allocations: 248.8 kB / 0.4999 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-05/0.1528, allocations: 11.98 kB / 0.4999 GB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1528, allocations: 38.56 kB / 0.4999 GB, free: 1.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.1528, allocations: 0 / 0.4999 GB, free: 1.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007682/0.1605, allocations: 1.821 MB / 0.5017 GB, free: 15.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.1606, allocations: 118.8 kB / 0.5018 GB, free: 15.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.161, allocations: 265.8 kB / 0.502 GB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/0.1611, allocations: 41.69 kB / 0.5021 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1612, allocations: 161.1 kB / 0.5022 GB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1613, allocations: 154.6 kB / 0.5024 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.1615, allocations: 110.3 kB / 0.5025 GB, free: 15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1617, allocations: 346.8 kB / 0.5028 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.1622, allocations: 305.1 kB / 0.5031 GB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.1627, allocations: 353.7 kB / 0.5035 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1638, allocations: 0.6586 MB / 0.5041 GB, free: 13.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1638, allocations: 0 / 0.5041 GB, free: 13.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003682/0.1675, allocations: 1.247 MB / 0.5053 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1675, allocations: 7.938 kB / 0.5053 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1676, allocations: 0 / 0.5053 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003669/0.1712, allocations: 0.7695 MB / 0.5061 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1716, allocations: 91.83 kB / 0.5062 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.1797, allocations: 4.091 MB / 0.5102 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.1802, allocations: 51.56 kB / 0.5102 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.1803, allocations: 19.98 kB / 0.5102 GB, free: 6.949 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.0003485/0.1807, allocations: 161.7 kB / 0.5104 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.1808, allocations: 31.81 kB / 0.5104 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.1847, allocations: 1.199 MB / 0.5116 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.1847, allocations: 4 kB / 0.5116 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1847, allocations: 0 / 0.5116 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1847, allocations: 3.984 kB / 0.5116 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.1854, allocations: 0.5433 MB / 0.5121 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.1854, allocations: 3.938 kB / 0.5121 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.1856, allocations: 59.97 kB / 0.5122 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/0.1892, allocations: 0.7491 MB / 0.5129 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.1893, allocations: 12 kB / 0.5129 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2505/0.4397, allocations: 4.022 MB / 0.5168 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4397, allocations: 0.6562 kB / 0.5169 GB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/0.4437, allocations: 1.206 MB / 0.518 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.4438, allocations: 46.34 kB / 0.5181 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.4439, allocations: 12.92 kB / 0.5181 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.4443, allocations: 22.84 kB / 0.5181 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4444, allocations: 44.11 kB / 0.5181 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.4445, allocations: 12.75 kB / 0.5182 GB, free: 29.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.4447, allocations: 191 kB / 0.5183 GB, free: 29.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4447, allocations: 3.344 kB / 0.5183 GB, free: 29.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007112/0.4454, allocations: 171.9 kB / 0.5185 GB, free: 29.29 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.003933/0.4493, allocations: 1.783 MB / 0.5203 GB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.452, allocations: 0.9862 MB / 0.5212 GB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.452, allocations: 0.9062 kB / 0.5212 GB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.4539, allocations: 0.6488 MB / 0.5218 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.4544, allocations: 41.77 kB / 0.5219 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.4651, allocations: 5.18 MB / 0.5269 GB, free: 26.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4654, allocations: 0.7978 MB / 0.5277 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.4656, allocations: 55.8 kB / 0.5278 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.4658, allocations: 121.9 kB / 0.5279 GB, free: 25.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4658, allocations: 0 / 0.5279 GB, free: 25.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.52, allocations: 15.71 MB / 0.5432 GB, free: 20.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.9, allocations: 6.281 kB / 0.5432 GB, free: 20.52 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.740991726052016] Failed to read output from testmodel.py, exit status != 0: 14.027483713114634 14.048698572 13.904710111 Calling exit ...