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.0008489/0.0008489, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.0008485/0.0008485, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9303/0.9303, allocations: 177.1 MB / 203.6 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.02593/0.02593, allocations: 4.471 MB / 264.5 MB, free: 8.746 MB / 250.7 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 2.605e-06/2.605e-06, allocations: 4 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.96e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002114/0.002134, allocations: 2.006 MB / 391.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003798, allocations: 1.66 MB / 393.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.917e-05/0.003897, allocations: 4 kB / 393.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.004457, allocations: 162.9 kB / 393.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.004794, allocations: 214.5 kB / 393.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.005867, allocations: 1.112 MB / 394.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.006189, allocations: 417.8 kB / 395.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.006328, allocations: 83.61 kB / 395.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.006482, allocations: 231.5 kB / 395.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.006639, allocations: 155.5 kB / 395.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.006674, allocations: 32 kB / 395.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.006967, allocations: 267.5 kB / 395.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.007012, allocations: 83.66 kB / 396 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.007097, allocations: 131.6 kB / 396.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.007575, allocations: 0.6037 MB / 396.7 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007578, allocations: 7.938 kB / 396.7 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00758, allocations: 0 / 396.7 MB, free: 240 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.007585, allocations: 4 kB / 396.7 MB, free: 236 kB / 314.7 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.002692/0.01028, allocations: 1.297 MB / 398 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.01032, allocations: 12.03 kB / 398.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.01038, allocations: 62.73 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.01045, allocations: 44.66 kB / 398.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.01073, allocations: 256.7 kB / 398.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.01075, allocations: 29.03 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.01079, allocations: 32.38 kB / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.01137, allocations: 0.6718 MB / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.01138, allocations: 4.125 kB / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.01141, allocations: 16.38 kB / 399.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.01142, allocations: 11.94 kB / 399.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.01186, allocations: 434.5 kB / 399.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.01353, allocations: 1.123 MB / 400.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.01412, allocations: 498.1 kB / 401.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.01439, allocations: 244.8 kB / 401.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.01445, allocations: 12 kB / 401.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.01448, allocations: 38.56 kB / 401.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.01448, allocations: 0 / 401.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003641/0.01813, allocations: 1.778 MB / 403.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.01818, allocations: 110.8 kB / 403.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.0184, allocations: 273.8 kB / 403.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.01845, allocations: 37.7 kB / 403.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.01853, allocations: 169 kB / 403.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.01862, allocations: 150.6 kB / 404 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.01875, allocations: 106.3 kB / 404.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01885, allocations: 346.8 kB / 404.4 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.01916, allocations: 297.2 kB / 404.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.01956, allocations: 401.1 kB / 405.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.02027, allocations: 0.6586 MB / 405.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.02028, allocations: 0 / 405.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002068/0.02234, allocations: 1.262 MB / 407 MB, free: 5.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02236, allocations: 4 kB / 407 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02237, allocations: 0 / 407 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.02448, allocations: 0.7764 MB / 407.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.02469, allocations: 91.89 kB / 407.9 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.02909, allocations: 3.974 MB / 411.9 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.02933, allocations: 59.55 kB / 411.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.02936, allocations: 16 kB / 412 MB, free: 0.6055 MB / 330.7 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.0001586/0.02952, allocations: 173.6 kB / 412.1 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.02957, allocations: 31.81 kB / 412.2 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.153/0.1826, allocations: 1.208 MB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1826, allocations: 5.031 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1826, allocations: 1.375 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1826, allocations: 2.719 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.1831, allocations: 431.5 kB / 413.8 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1831, allocations: 0 / 413.8 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1833, allocations: 58.88 kB / 413.9 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.1853, allocations: 0.7484 MB / 414.6 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1853, allocations: 11.58 kB / 414.6 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.1896, allocations: 3.935 MB / 418.5 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1896, allocations: 2.281 kB / 418.6 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.1916, allocations: 1.226 MB / 419.8 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1917, allocations: 43.58 kB / 419.8 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1917, allocations: 6.656 kB / 419.8 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1919, allocations: 32.39 kB / 419.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.192, allocations: 38.41 kB / 419.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.192, allocations: 20.36 kB / 419.9 MB, free: 30.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.1922, allocations: 187 kB / 420.1 MB, free: 30.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 4 kB / 420.1 MB, free: 30.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004853/0.1927, allocations: 179.5 kB / 420.3 MB, free: 30.29 MB / 330.7 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.002043/0.1947, allocations: 1.786 MB / 422.1 MB, free: 29.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1963, allocations: 0.9883 MB / 423.1 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1963, allocations: 2.031 kB / 423.1 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.1973, allocations: 0.6514 MB / 423.7 MB, free: 28.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1977, allocations: 39.89 kB / 423.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.2043, allocations: 5.171 MB / 428.9 MB, free: 25.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2045, allocations: 190.7 kB / 429.1 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.2046, allocations: 58.84 kB / 429.2 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2047, allocations: 119.5 kB / 429.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2047, allocations: 0 / 429.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.2339, allocations: 15.73 MB / 445 MB, free: 13.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.277, allocations: 14.8 kB / 445 MB, free: 13.91 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.002452840097249] Failed to read output from testmodel.py, exit status != 0: 8.372040612623096 8.379921917 8.370655586 Calling exit ...