Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.001293/0.001293, allocations: 80.53 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.001699/0.001699, allocations: 174.3 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.9158/0.9158, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02499/0.02499, allocations: 4.476 MB / 264.5 MB, free: 8.762 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.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 389.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.915e-05, allocations: 2.281 kB / 389.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003714/0.003743, allocations: 4.038 MB / 393.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.005402, allocations: 1.121 MB / 394.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.005561, allocations: 8 kB / 394.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.005965, allocations: 226.4 kB / 395 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.006514, allocations: 353.5 kB / 395.4 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.007947, allocations: 1.264 MB / 396.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007281/0.008676, allocations: 0.75 MB / 397.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.008936, allocations: 166.6 kB / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.009285, allocations: 435 kB / 398 MB, free: 15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.009604, allocations: 319.1 kB / 398.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.009671, allocations: 60 kB / 398.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.01018, allocations: 315.5 kB / 398.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.01027, allocations: 155.3 kB / 398.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.01044, allocations: 239.3 kB / 399 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.01128, allocations: 0.9503 MB / 400 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01128, allocations: 0 / 400 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01128, allocations: 4 kB / 400 MB, free: 12.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.01129, allocations: 0 / 400 MB, free: 12.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004147/0.01544, allocations: 1.955 MB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.01547, allocations: 8.031 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/0.01557, allocations: 94.7 kB / 402 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01569, allocations: 84.47 kB / 402.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.01612, allocations: 383.6 kB / 402.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.01619, allocations: 79.58 kB / 402.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.01625, allocations: 56.38 kB / 402.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01727, allocations: 1.218 MB / 403.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01728, allocations: 8.125 kB / 403.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.01733, allocations: 24.38 kB / 403.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01734, allocations: 19.94 kB / 403.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.0182, allocations: 0.8524 MB / 404.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.02054, allocations: 1.963 MB / 406.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.02165, allocations: 1.015 MB / 407.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.02217, allocations: 0.5113 MB / 408.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.02225, allocations: 20.98 kB / 408.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.02227, allocations: 43.56 kB / 408.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.014e-06/0.02228, allocations: 0 / 408.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.1745/0.1968, allocations: 5.238 MB / 413.5 MB, free: 33.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1969, allocations: 88.52 kB / 413.6 MB, free: 33.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.1972, allocations: 361.7 kB / 414 MB, free: 33.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.1973, allocations: 47.08 kB / 414 MB, free: 33.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.1974, allocations: 212.4 kB / 414.2 MB, free: 33.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1976, allocations: 321.9 kB / 414.5 MB, free: 33.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1978, allocations: 173.2 kB / 414.7 MB, free: 33.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.1978, allocations: 370.9 kB / 415.1 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.1984, allocations: 0.5273 MB / 415.6 MB, free: 32.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.199, allocations: 0.6253 MB / 416.2 MB, free: 32.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2001, allocations: 1.173 MB / 417.4 MB, free: 32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2001, allocations: 1.125 kB / 417.4 MB, free: 32 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005923/0.206, allocations: 2.653 MB / 420 MB, free: 31.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2061, allocations: 4.75 kB / 420.1 MB, free: 31.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2061, allocations: 0 / 420.1 MB, free: 31.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006214/0.2123, allocations: 1.959 MB / 422 MB, free: 30.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.2126, allocations: 133.2 kB / 422.1 MB, free: 30.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00994/0.2225, allocations: 7.361 MB / 429.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.223, allocations: 83.02 kB / 429.6 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.223, allocations: 32.77 kB / 429.6 MB, free: 26.47 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: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 {(18,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.2233, allocations: 200.4 kB / 429.8 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.2234, allocations: 64.94 kB / 429.9 MB, free: 26.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/0.2293, allocations: 2.671 MB / 432.5 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2293, allocations: 12.22 kB / 432.6 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2293, allocations: 3.984 kB / 432.6 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.2293, allocations: 3.984 kB / 432.6 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006067/0.2354, allocations: 3.433 MB / 436 MB, free: 23.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2354, allocations: 2.344 kB / 436 MB, free: 23.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2355, allocations: 103.9 kB / 436.1 MB, free: 23.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005346/0.2409, allocations: 1.873 MB / 438 MB, free: 21.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.2409, allocations: 31.92 kB / 438 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008027/0.249, allocations: 7.27 MB / 445.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.249, allocations: 4 kB / 445.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.2541, allocations: 2.613 MB / 447.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.2542, allocations: 75.38 kB / 448 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.2543, allocations: 19.94 kB / 448 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2546, allocations: 47.97 kB / 448 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.2547, allocations: 84.81 kB / 448.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.2548, allocations: 35.98 kB / 448.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.2549, allocations: 243.2 kB / 448.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2549, allocations: 4 kB / 448.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007799/0.2557, allocations: 343.8 kB / 448.7 MB, free: 10.26 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: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {(18,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005397/0.2611, allocations: 3.192 MB / 451.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.2636, allocations: 1.814 MB / 453.7 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2636, allocations: 4 kB / 453.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.265, allocations: 1.198 MB / 454.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2655, allocations: 72.08 kB / 455 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.2809, allocations: 9.471 MB / 464.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2811, allocations: 307.9 kB / 464.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.2813, allocations: 92.69 kB / 464.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.2815, allocations: 220.4 kB / 465.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2815, allocations: 0 / 465.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/0.3278, allocations: 30.27 MB / 495.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.596, allocations: 0 / 495.4 MB, free: 11.7 MB / 378.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.361418501473963] Failed to read output from testmodel.py, exit status != 0: 8.696444418281317 8.709361033 8.695313785 Calling exit ...