Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.00111/0.00111, allocations: 72.55 kB / 19.96 MB, free: 4.598 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.001296/0.001296, allocations: 173.9 kB / 23.24 MB, free: 1.316 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.9285/0.9285, allocations: 177.2 MB / 203.6 MB, free: 5.727 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.02519/0.02519, allocations: 4.462 MB / 264.4 MB, free: 8.758 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.872e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001759/0.001788, allocations: 1.567 MB / 391.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.003393, allocations: 1.571 MB / 392.7 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.003475, allocations: 4 kB / 392.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.003793, allocations: 131.1 kB / 392.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.004122, allocations: 158.8 kB / 393 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.005164, allocations: 0.9681 MB / 394 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.005479, allocations: 282.5 kB / 394.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005611, allocations: 64.55 kB / 394.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.005739, allocations: 159.7 kB / 394.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.005838, allocations: 103.7 kB / 394.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.005867, allocations: 24 kB / 394.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.006241, allocations: 235.6 kB / 394.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.00628, allocations: 59.7 kB / 394.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.006355, allocations: 91.75 kB / 395 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.006837, allocations: 486.5 kB / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006839, allocations: 0 / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006841, allocations: 0 / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006845, allocations: 0 / 395.5 MB, free: 1.512 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002194/0.009039, allocations: 1.039 MB / 396.5 MB, free: 444 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.009076, allocations: 8.031 kB / 396.5 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.009125, allocations: 54.73 kB / 396.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.009182, allocations: 36.75 kB / 396.6 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.009398, allocations: 201.4 kB / 396.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.009413, allocations: 20.75 kB / 396.8 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.009443, allocations: 24.38 kB / 396.8 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.009881, allocations: 488.3 kB / 397.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00989, allocations: 192 / 397.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.009912, allocations: 16.25 kB / 397.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.009919, allocations: 8.125 kB / 397.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.01024, allocations: 303.3 kB / 397.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01134, allocations: 0.8075 MB / 398.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.01185, allocations: 350.7 kB / 398.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.01202, allocations: 152.8 kB / 398.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.01252, allocations: 0.5157 MB / 399.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01254, allocations: 38.8 kB / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.183e-06/0.01254, allocations: 0 / 399.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001878/0.01442, allocations: 0.9797 MB / 400.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.01447, allocations: 106.8 kB / 400.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01461, allocations: 229.7 kB / 400.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01464, allocations: 41.7 kB / 400.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.01471, allocations: 152.7 kB / 401 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.01476, allocations: 95.17 kB / 401.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01486, allocations: 90.12 kB / 401.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.01494, allocations: 330.8 kB / 401.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.01514, allocations: 200.9 kB / 401.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.0154, allocations: 315.2 kB / 402 MB, free: 10.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.01586, allocations: 485 kB / 402.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01586, allocations: 0 / 402.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001164/0.01703, allocations: 0.8067 MB / 403.3 MB, free: 9.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01704, allocations: 11.92 kB / 403.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01705, allocations: 4 kB / 403.3 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.01814, allocations: 409.3 kB / 403.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01831, allocations: 75.83 kB / 403.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.0214, allocations: 3.762 MB / 407.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.02156, allocations: 47.69 kB / 407.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02158, allocations: 19.94 kB / 407.6 MB, free: 4.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.02169, allocations: 153.7 kB / 407.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.02174, allocations: 31.75 kB / 407.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.02281, allocations: 0.7253 MB / 408.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02282, allocations: 4 kB / 408.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02282, allocations: 4 kB / 408.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02283, allocations: 3.984 kB / 408.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.02307, allocations: 324.4 kB / 408.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02308, allocations: 0 / 408.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.49e-05/0.02316, allocations: 43.92 kB / 408.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009438/0.0241, allocations: 409.3 kB / 409.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.02413, allocations: 7.938 kB / 409.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1518/0.1759, allocations: 3.743 MB / 413 MB, free: 32.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1759, allocations: 1.859 kB / 413 MB, free: 32.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1771, allocations: 0.7772 MB / 413.8 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1772, allocations: 27.16 kB / 413.8 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1772, allocations: 5.891 kB / 413.8 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1773, allocations: 18.27 kB / 413.9 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.1774, allocations: 25.86 kB / 413.9 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1774, allocations: 11.77 kB / 413.9 MB, free: 32.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.1776, allocations: 162.8 kB / 414.1 MB, free: 32.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1776, allocations: 0 / 414.1 MB, free: 32.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.1779, allocations: 123 kB / 414.2 MB, free: 32.3 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.1793, allocations: 1.319 MB / 415.5 MB, free: 31.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.1803, allocations: 0.7287 MB / 416.2 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1803, allocations: 5.688 kB / 416.2 MB, free: 31.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.1809, allocations: 0.4978 MB / 416.7 MB, free: 30.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1811, allocations: 30.58 kB / 416.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.1854, allocations: 3.727 MB / 420.5 MB, free: 28.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.1855, allocations: 151.7 kB / 420.6 MB, free: 28.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1856, allocations: 34.11 kB / 420.7 MB, free: 28.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.1857, allocations: 84.53 kB / 420.7 MB, free: 28.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1857, allocations: 2.297 kB / 420.7 MB, free: 28.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.2128, allocations: 10.27 MB / 431 MB, free: 25.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.31, allocations: 5.5 kB / 431 MB, free: 25.08 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.141952309757471] Failed to read output from testmodel.py, exit status != 0: 7.396210419945419 7.403162166 7.394925771 Calling exit ...