Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.001269/0.001269, 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.00141/0.00141, allocations: 209.5 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.503/1.503, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.03769/0.03769, 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.94 kB / 445.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09856, allocations: 55.01 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003778/0.1023, allocations: 2.643 MB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1048, allocations: 1.695 MB / 0.4928 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1049, allocations: 15.94 kB / 0.4928 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1054, allocations: 163 kB / 0.493 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.1059, allocations: 222.5 kB / 0.4932 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.1081, allocations: 1.22 MB / 0.4944 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.1087, allocations: 457.8 kB / 0.4948 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.109, allocations: 118.4 kB / 0.4949 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1092, allocations: 195.2 kB / 0.4951 GB, free: 7.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.1095, allocations: 219.1 kB / 0.4953 GB, free: 7.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.1096, allocations: 40 kB / 0.4954 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.1102, allocations: 279.8 kB / 0.4956 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1103, allocations: 91.62 kB / 0.4957 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.1105, allocations: 222.9 kB / 0.4959 GB, free: 6.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1116, allocations: 0.6383 MB / 0.4966 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1116, allocations: 0 / 0.4966 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1116, allocations: 4 kB / 0.4966 GB, free: 6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1116, allocations: 0 / 0.4966 GB, free: 6 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005419/0.117, allocations: 1.347 MB / 0.4979 GB, free: 4.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.117, allocations: 8.031 kB / 0.4979 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.301e-05/0.1171, allocations: 16.78 kB / 0.4979 GB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.103e-05/0.1172, allocations: 70.72 kB / 0.498 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1173, allocations: 52.66 kB / 0.498 GB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.1177, allocations: 273.3 kB / 0.4983 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.1177, allocations: 29.03 kB / 0.4983 GB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1178, allocations: 40.38 kB / 0.4984 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.1187, allocations: 0.5215 MB / 0.4989 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1187, allocations: 0 / 0.4989 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.1188, allocations: 16 kB / 0.4989 GB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1188, allocations: 11.98 kB / 0.4989 GB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.1196, allocations: 462.5 kB / 0.4993 GB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.1222, allocations: 1.45 MB / 0.5007 GB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/0.1232, allocations: 486.3 kB / 0.5012 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.1236, allocations: 236.8 kB / 0.5014 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.1236, allocations: 11.92 kB / 0.5014 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1237, allocations: 42.56 kB / 0.5015 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.1237, allocations: 4 kB / 0.5015 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007619/0.1313, allocations: 1.844 MB / 0.5033 GB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.1314, allocations: 110.8 kB / 0.5034 GB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1317, allocations: 269.8 kB / 0.5037 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.1318, allocations: 37.7 kB / 0.5037 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1319, allocations: 180.9 kB / 0.5039 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.1321, allocations: 158.6 kB / 0.504 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1323, allocations: 110.3 kB / 0.5041 GB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1325, allocations: 342.8 kB / 0.5044 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.1329, allocations: 285.2 kB / 0.5047 GB, free: 13.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.1335, allocations: 341.7 kB / 0.505 GB, free: 13.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1345, allocations: 0.6313 MB / 0.5057 GB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1345, allocations: 0 / 0.5057 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003664/0.1382, allocations: 1.231 MB / 0.5069 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1382, allocations: 11.94 kB / 0.5069 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1382, allocations: 0 / 0.5069 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.1419, allocations: 0.7694 MB / 0.5076 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.1423, allocations: 87.89 kB / 0.5077 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/0.1502, allocations: 3.909 MB / 0.5115 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.1507, allocations: 63.55 kB / 0.5116 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.1507, allocations: 19.98 kB / 0.5116 GB, free: 6.223 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.0002924/0.151, allocations: 169.7 kB / 0.5118 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1511, allocations: 35.77 kB / 0.5118 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.1547, allocations: 1.155 MB / 0.5129 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1547, allocations: 4 kB / 0.5129 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1547, allocations: 7.984 kB / 0.5129 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1547, allocations: 0 / 0.5129 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.1588, allocations: 1.716 MB / 0.5146 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1588, allocations: 0 / 0.5146 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.1591, allocations: 59.91 kB / 0.5147 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.1626, allocations: 0.7422 MB / 0.5154 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.1627, allocations: 12 kB / 0.5154 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2069/0.3696, allocations: 3.861 MB / 0.5192 GB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3696, allocations: 2.219 kB / 0.5192 GB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.3727, allocations: 1.169 MB / 0.5203 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3727, allocations: 48.16 kB / 0.5204 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.3728, allocations: 11.38 kB / 0.5204 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.3732, allocations: 27.31 kB / 0.5204 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3733, allocations: 38.69 kB / 0.5204 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.3733, allocations: 14.38 kB / 0.5205 GB, free: 28.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3735, allocations: 189 kB / 0.5206 GB, free: 28.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3735, allocations: 0.9375 kB / 0.5206 GB, free: 28.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006057/0.3741, allocations: 187.2 kB / 0.5208 GB, free: 28.63 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 (35): * Single equations (assignments): 34 * 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.00338/0.3775, allocations: 1.734 MB / 0.5225 GB, free: 27.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.3798, allocations: 0.9636 MB / 0.5235 GB, free: 27.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3798, allocations: 1.438 kB / 0.5235 GB, free: 27.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.3815, allocations: 0.6354 MB / 0.5241 GB, free: 27.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.382, allocations: 47.89 kB / 0.5241 GB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3921, allocations: 5.11 MB / 0.5291 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3924, allocations: 0.8116 MB / 0.5299 GB, free: 24.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.3926, allocations: 50.72 kB / 0.53 GB, free: 24.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3928, allocations: 133.6 kB / 0.5301 GB, free: 24.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3928, allocations: 0 / 0.5301 GB, free: 24.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.434, allocations: 15.47 MB / 0.5452 GB, free: 19.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.7, allocations: 3.938 kB / 0.5452 GB, free: 19.28 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.44150867802091] Failed to read output from testmodel.py, exit status != 0: 13.875148257939145 13.885437993 13.771696434 Calling exit ...