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.0008028/0.0008028, allocations: 76.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.0008275/0.0008275, allocations: 177.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.9/0.9, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.02676/0.02676, allocations: 4.476 MB / 264.5 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 2.404e-06/2.404e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.809e-05, allocations: 2.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002916/0.002944, allocations: 1.566 MB / 391.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.005335, allocations: 1.571 MB / 392.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.005452, allocations: 4 kB / 392.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.005849, allocations: 135.1 kB / 392.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.006243, allocations: 158.9 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.007803, allocations: 0.9676 MB / 394 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.0081, allocations: 274.5 kB / 394.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.008231, allocations: 64.56 kB / 394.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.008353, allocations: 159.7 kB / 394.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.008446, allocations: 103.7 kB / 394.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.008471, allocations: 20 kB / 394.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.008811, allocations: 247.5 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.008852, allocations: 55.77 kB / 394.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.008921, allocations: 87.77 kB / 395 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.009375, allocations: 482.5 kB / 395.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.009378, allocations: 0 / 395.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009379, allocations: 3.938 kB / 395.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.009384, allocations: 0 / 395.5 MB, free: 1.527 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.002231/0.01162, allocations: 1.047 MB / 396.5 MB, free: 452 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01166, allocations: 8.031 kB / 396.5 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.01172, allocations: 54.73 kB / 396.6 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.01178, allocations: 32.73 kB / 396.6 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.01203, allocations: 209.4 kB / 396.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.01204, allocations: 12.75 kB / 396.8 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.01208, allocations: 24.38 kB / 396.8 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.01254, allocations: 480.3 kB / 397.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.01255, allocations: 192 / 397.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.01258, allocations: 20.25 kB / 397.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01259, allocations: 12.12 kB / 397.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.0129, allocations: 307.2 kB / 397.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01394, allocations: 0.8037 MB / 398.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.01449, allocations: 350.7 kB / 398.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01466, allocations: 156.8 kB / 398.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.01515, allocations: 0.508 MB / 399.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.01517, allocations: 38.8 kB / 399.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.072e-06/0.01517, allocations: 0 / 399.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002131/0.0173, allocations: 0.9835 MB / 400.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.01735, allocations: 110.8 kB / 400.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01751, allocations: 233.7 kB / 400.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.01754, allocations: 33.7 kB / 400.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.01761, allocations: 144.8 kB / 401 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.01766, allocations: 95.17 kB / 401.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.01775, allocations: 94.12 kB / 401.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.01783, allocations: 334.8 kB / 401.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.01803, allocations: 192.9 kB / 401.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.01828, allocations: 327.2 kB / 402 MB, free: 10.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.01873, allocations: 480.9 kB / 402.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01873, allocations: 0 / 402.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001115/0.01985, allocations: 0.8107 MB / 403.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01987, allocations: 11.94 kB / 403.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01987, allocations: 0 / 403.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.02092, allocations: 413.3 kB / 403.7 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.02108, allocations: 71.91 kB / 403.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.02397, allocations: 3.766 MB / 407.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.02415, allocations: 51.83 kB / 407.6 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.02417, allocations: 19.92 kB / 407.6 MB, free: 4.805 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.0001109/0.02428, allocations: 145.8 kB / 407.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.02432, allocations: 31.75 kB / 407.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.02542, allocations: 0.7291 MB / 408.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.02543, allocations: 11.98 kB / 408.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02543, allocations: 0 / 408.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.02543, allocations: 4 kB / 408.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.02568, allocations: 316.4 kB / 408.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02569, allocations: 0 / 408.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.02577, allocations: 43.97 kB / 408.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009206/0.02669, allocations: 409.2 kB / 409.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.02671, allocations: 11.94 kB / 409.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1507/0.1774, allocations: 3.741 MB / 413 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1774, allocations: 0.5469 kB / 413 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1785, allocations: 0.774 MB / 413.8 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1785, allocations: 27.64 kB / 413.8 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1786, allocations: 5.5 kB / 413.8 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1787, allocations: 20.86 kB / 413.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.1788, allocations: 26.94 kB / 413.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1788, allocations: 6.781 kB / 413.9 MB, free: 32.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.1789, allocations: 164.1 kB / 414 MB, free: 32.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1789, allocations: 0 / 414 MB, free: 32.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.1792, allocations: 124.8 kB / 414.2 MB, free: 32.27 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.001189/0.1804, allocations: 1.32 MB / 415.5 MB, free: 31.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.1813, allocations: 0.7281 MB / 416.2 MB, free: 31.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1813, allocations: 5.125 kB / 416.2 MB, free: 31.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.1818, allocations: 0.5001 MB / 416.7 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.182, allocations: 24.77 kB / 416.7 MB, free: 30.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.1857, allocations: 3.731 MB / 420.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.1858, allocations: 150.1 kB / 420.6 MB, free: 28.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.1859, allocations: 34.95 kB / 420.7 MB, free: 28.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.1859, allocations: 85.2 kB / 420.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1859, allocations: 5.172 kB / 420.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2106, allocations: 10.27 MB / 431 MB, free: 25.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.357, allocations: 7.938 kB / 431 MB, free: 25.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.116727936081588] Failed to read output from testmodel.py, exit status != 0: 7.442790654487908 7.451029515 7.440107532 Calling exit ...