Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.0008597/0.0008597, 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.0009911/0.0009911, 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.9226/0.9226, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.02209/0.02209, allocations: 4.471 MB / 264.4 MB, free: 8.785 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.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.481e-05, allocations: 6.219 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003145/0.00316, allocations: 3.232 MB / 392.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004499, allocations: 0.9532 MB / 393.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.004617, allocations: 4 kB / 393.8 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.004934, allocations: 178.8 kB / 394 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.005293, allocations: 250.2 kB / 394.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.006476, allocations: 1.186 MB / 395.4 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.006899, allocations: 497.5 kB / 395.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.007069, allocations: 120.7 kB / 396 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.007305, allocations: 291.3 kB / 396.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.007533, allocations: 211.4 kB / 396.5 MB, free: 484 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.007579, allocations: 40 kB / 396.5 MB, free: 444 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.008128, allocations: 287.6 kB / 396.8 MB, free: 156 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.008253, allocations: 99.53 kB / 396.9 MB, free: 56 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.008458, allocations: 163.6 kB / 397.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009138/0.009372, allocations: 0.7166 MB / 397.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.009377, allocations: 7.938 kB / 397.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.009378, allocations: 0 / 397.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.009389, allocations: 0 / 397.8 MB, free: 15.17 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003125/0.01251, allocations: 1.382 MB / 399.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.01256, allocations: 16.02 kB / 399.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.01263, allocations: 74.72 kB / 399.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.01273, allocations: 52.66 kB / 399.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01308, allocations: 292.5 kB / 399.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.01315, allocations: 59.27 kB / 399.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.0132, allocations: 48.38 kB / 399.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.014, allocations: 0.7932 MB / 400.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.01401, allocations: 4.125 kB / 400.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.01405, allocations: 16.38 kB / 400.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01406, allocations: 15.88 kB / 400.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.0147, allocations: 0.5623 MB / 401.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.01656, allocations: 1.383 MB / 402.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.01751, allocations: 0.6629 MB / 403.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.01792, allocations: 346.2 kB / 403.5 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.01799, allocations: 8.5 kB / 403.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.01802, allocations: 43.06 kB / 403.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.01802, allocations: 4 kB / 403.5 MB, free: 9.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=62): time 0.007845/0.02587, allocations: 2.955 MB / 406.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.02599, allocations: 89.61 kB / 406.6 MB, free: 6.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.02622, allocations: 276.1 kB / 406.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.02627, allocations: 41.7 kB / 406.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.02636, allocations: 173.7 kB / 407.1 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.02649, allocations: 218.1 kB / 407.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.02665, allocations: 130.7 kB / 407.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.02676, allocations: 346.8 kB / 407.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.02715, allocations: 361.9 kB / 408.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.02772, allocations: 450.3 kB / 408.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.02854, allocations: 0.7929 MB / 409.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.02854, allocations: 0 / 409.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003514/0.03205, allocations: 1.704 MB / 411 MB, free: 1.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.03208, allocations: 8 kB / 411 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.03208, allocations: 4 kB / 411.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003604/0.03569, allocations: 1.066 MB / 412.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.03592, allocations: 95.77 kB / 412.2 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1704/0.2063, allocations: 5.088 MB / 417.3 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.2069, allocations: 64.02 kB / 417.4 MB, free: 30.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.207, allocations: 26.38 kB / 417.4 MB, free: 30.54 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 (56): * Single equations (assignments): 55 * 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 {(9,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.2073, allocations: 173.1 kB / 417.6 MB, free: 30.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2074, allocations: 41.77 kB / 417.6 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/0.213, allocations: 1.701 MB / 419.3 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.213, allocations: 7.953 kB / 419.3 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.213, allocations: 0 / 419.3 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.2131, allocations: 3.641 kB / 419.3 MB, free: 29.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/0.2186, allocations: 2.265 MB / 421.6 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.2186, allocations: 1.344 kB / 421.6 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2188, allocations: 72.17 kB / 421.6 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003695/0.2225, allocations: 1.065 MB / 422.7 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.2225, allocations: 17.8 kB / 422.7 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006249/0.2288, allocations: 5.004 MB / 427.7 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2288, allocations: 5.062 kB / 427.7 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.2324, allocations: 1.697 MB / 429.4 MB, free: 24.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2325, allocations: 53.91 kB / 429.5 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.2325, allocations: 12.97 kB / 429.5 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.2328, allocations: 31.36 kB / 429.5 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.2329, allocations: 60.73 kB / 429.6 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.233, allocations: 19.67 kB / 429.6 MB, free: 24.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.2331, allocations: 194.6 kB / 429.8 MB, free: 24.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2331, allocations: 0 / 429.8 MB, free: 24.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000799/0.2339, allocations: 227.7 kB / 430 MB, free: 24.58 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 (45): * Single equations (assignments): 44 * 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,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003618/0.2376, allocations: 2.265 MB / 432.3 MB, free: 23.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.2396, allocations: 1.204 MB / 433.5 MB, free: 22.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2396, allocations: 0 / 433.5 MB, free: 22.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.2407, allocations: 0.7812 MB / 434.3 MB, free: 22.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.2412, allocations: 46.45 kB / 434.3 MB, free: 22.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.2514, allocations: 6.488 MB / 440.8 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2516, allocations: 222.6 kB / 441 MB, free: 17.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.2518, allocations: 65.66 kB / 441.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2519, allocations: 144.4 kB / 441.2 MB, free: 17.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2519, allocations: 0 / 441.2 MB, free: 17.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.2839, allocations: 19.96 MB / 461.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.484, allocations: 8 kB / 461.2 MB, free: 13.37 MB / 346.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.189613863825798] Failed to read output from testmodel.py, exit status != 0: 8.580876828171313 8.591065851 8.579598884 Calling exit ...