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.001734/0.001734, allocations: 105.2 kB / 20.53 MB, free: 1.43 MB / 14.72 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.00149/0.00149, allocations: 214.4 kB / 23.83 MB, free: 4.645 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 257.6 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.04097/0.04097, allocations: 6.127 MB / 320.2 MB, free: 12.96 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.94 kB / 445.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1082, allocations: 55.02 MB / 0.4886 GB, free: 14.28 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.005415/0.1136, allocations: 3.553 MB / 0.4921 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1157, allocations: 1.02 MB / 0.4931 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.116, allocations: 4 kB / 0.4931 GB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1165, allocations: 171 kB / 0.4932 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.1171, allocations: 242.5 kB / 0.4935 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.1195, allocations: 1.301 MB / 0.4947 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.1201, allocations: 485.7 kB / 0.4952 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1204, allocations: 120.7 kB / 0.4953 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1206, allocations: 203.3 kB / 0.4955 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.121, allocations: 274.8 kB / 0.4958 GB, free: 6.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.121, allocations: 40 kB / 0.4958 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.1216, allocations: 311.8 kB / 0.4961 GB, free: 6.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1217, allocations: 103.6 kB / 0.4962 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.1219, allocations: 234.8 kB / 0.4964 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.1227, allocations: 0.6811 MB / 0.4971 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1227, allocations: 3.984 kB / 0.4971 GB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1227, allocations: 0 / 0.4971 GB, free: 5.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1227, allocations: 0 / 0.4971 GB, free: 5.539 MB / 366.1 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.005579/0.1283, allocations: 1.406 MB / 0.4985 GB, free: 4.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1284, allocations: 8.031 kB / 0.4985 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.918e-05/0.1284, allocations: 9.188 kB / 0.4985 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.1285, allocations: 78.7 kB / 0.4985 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1286, allocations: 52.66 kB / 0.4986 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1291, allocations: 285.3 kB / 0.4989 GB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.1291, allocations: 67.25 kB / 0.4989 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.1292, allocations: 44.38 kB / 0.499 GB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1303, allocations: 0.5958 MB / 0.4996 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1303, allocations: 0 / 0.4996 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.1304, allocations: 16 kB / 0.4996 GB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1304, allocations: 8 kB / 0.4996 GB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1314, allocations: 0.5662 MB / 0.5001 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.1344, allocations: 1.751 MB / 0.5018 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1358, allocations: 0.6629 MB / 0.5025 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.1364, allocations: 338.3 kB / 0.5028 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.1365, allocations: 20.47 kB / 0.5028 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1365, allocations: 43.06 kB / 0.5029 GB, free: 15.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.1365, allocations: 0 / 0.5029 GB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=62): time 0.01609/0.1526, allocations: 2.963 MB / 0.5058 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.1527, allocations: 93.48 kB / 0.5059 GB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.1531, allocations: 272.1 kB / 0.5061 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.1532, allocations: 41.7 kB / 0.5062 GB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1534, allocations: 169.7 kB / 0.5063 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.1536, allocations: 226.1 kB / 0.5065 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.1539, allocations: 126.7 kB / 0.5067 GB, free: 11.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1541, allocations: 346.8 kB / 0.507 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.1547, allocations: 369.8 kB / 0.5073 GB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.1554, allocations: 420.6 kB / 0.5077 GB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.1567, allocations: 0.8006 MB / 0.5085 GB, free: 9.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.1567, allocations: 3.938 kB / 0.5085 GB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.006997/0.1637, allocations: 1.696 MB / 0.5102 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1637, allocations: 4 kB / 0.5102 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1637, allocations: 0 / 0.5102 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/0.1709, allocations: 1.073 MB / 0.5112 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1712, allocations: 99.83 kB / 0.5113 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.1826, allocations: 5.239 MB / 0.5164 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.1833, allocations: 55.55 kB / 0.5165 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.1834, allocations: 24 kB / 0.5165 GB, free: 1.23 MB / 382.1 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.000355/0.1837, allocations: 174.1 kB / 0.5167 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1839, allocations: 43.72 kB / 0.5167 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1974/0.3813, allocations: 1.688 MB / 0.5184 GB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.3813, allocations: 14.48 kB / 0.5184 GB, free: 29.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3813, allocations: 2.281 kB / 0.5184 GB, free: 29.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.3813, allocations: 1.266 kB / 0.5184 GB, free: 29.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.3892, allocations: 2.398 MB / 0.5207 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.3892, allocations: 2 kB / 0.5207 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.3895, allocations: 74.38 kB / 0.5208 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006914/0.3964, allocations: 1.061 MB / 0.5218 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.3965, allocations: 16.25 kB / 0.5219 GB, free: 29.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00973/0.4062, allocations: 5.162 MB / 0.5269 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4063, allocations: 1.156 kB / 0.5269 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00657/0.4128, allocations: 1.69 MB / 0.5286 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4129, allocations: 53.62 kB / 0.5286 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.413, allocations: 15.16 kB / 0.5286 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.4135, allocations: 32.34 kB / 0.5286 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4138, allocations: 60.59 kB / 0.5287 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.4138, allocations: 23.2 kB / 0.5287 GB, free: 26.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.414, allocations: 188.5 kB / 0.5289 GB, free: 26.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.414, allocations: 0 / 0.5289 GB, free: 26.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007297/0.4148, allocations: 230.7 kB / 0.5291 GB, free: 26.65 MB / 382.1 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.006937/0.4217, allocations: 2.264 MB / 0.5313 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.4246, allocations: 1.201 MB / 0.5325 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4246, allocations: 1.25 kB / 0.5325 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.4265, allocations: 0.768 MB / 0.5333 GB, free: 24.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.427, allocations: 51.28 kB / 0.5333 GB, free: 24.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.4448, allocations: 6.477 MB / 0.5396 GB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4452, allocations: 0.8367 MB / 0.5405 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.4454, allocations: 58.2 kB / 0.5405 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.4456, allocations: 144.1 kB / 0.5406 GB, free: 20.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4456, allocations: 0 / 0.5406 GB, free: 20.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/0.4897, allocations: 21.01 MB / 0.5612 GB, free: 4.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.35, allocations: 5.531 kB / 0.5612 GB, free: 4.508 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.14500549202785] Failed to read output from testmodel.py, exit status != 0: 14.53857155609876 14.569175366 14.440936583 Calling exit ...