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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 177.6 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 230 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009393, allocations: 99.53 kB / 280.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05066/0.05066, allocations: 8.098 MB / 339.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.944e-05, allocations: 3.031 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09589, allocations: 52.53 MB / 451.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.204, allocations: 81.52 MB / 0.5201 GB, free: 3.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.2044, allocations: 67.97 kB / 0.5202 GB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2577/0.4621, allocations: 14.2 MB / 0.5341 GB, free: 79.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4621, allocations: 0 / 0.5341 GB, free: 79.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.4621, allocations: 7.594 kB / 0.5341 GB, free: 79.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002564/0.4647, allocations: 0.898 MB / 0.5349 GB, free: 78.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4647, allocations: 13.58 kB / 0.535 GB, free: 78.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4649, allocations: 50.5 kB / 0.535 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.4653, allocations: 364.4 kB / 0.5353 GB, free: 78.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.4654, allocations: 43.42 kB / 0.5354 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.4655, allocations: 20.31 kB / 0.5354 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007846/0.4663, allocations: 495 kB / 0.5359 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.4672, allocations: 0.4993 MB / 0.5364 GB, free: 78.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4672, allocations: 8.453 kB / 0.5364 GB, free: 78.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.4673, allocations: 0.5625 kB / 0.5364 GB, free: 78.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.4673, allocations: 8.562 kB / 0.5364 GB, free: 78.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.47, allocations: 2.331 MB / 0.5387 GB, free: 76.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.471, allocations: 0.7055 MB / 0.5393 GB, free: 75.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.4714, allocations: 331.5 kB / 0.5397 GB, free: 75.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.4715, allocations: 105.8 kB / 0.5398 GB, free: 75.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004981/0.472, allocations: 374.3 kB / 0.5401 GB, free: 75.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 1.873e-06/0.472, allocations: 0 / 0.5401 GB, free: 75.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003058/0.4751, allocations: 1.138 MB / 0.5412 GB, free: 74.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.4751, allocations: 81.39 kB / 0.5413 GB, free: 74.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4754, allocations: 259.1 kB / 0.5416 GB, free: 74.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.4754, allocations: 29.7 kB / 0.5416 GB, free: 74.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.4755, allocations: 182.8 kB / 0.5418 GB, free: 74.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.4756, allocations: 191 kB / 0.5419 GB, free: 74.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.4756, allocations: 0 / 0.5419 GB, free: 74.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.4757, allocations: 353.5 kB / 0.5423 GB, free: 73.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.476, allocations: 262.4 kB / 0.5425 GB, free: 73.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.4763, allocations: 316.3 kB / 0.5428 GB, free: 73.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.4771, allocations: 326.8 kB / 0.5431 GB, free: 73.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4771, allocations: 0 / 0.5431 GB, free: 73.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003029/0.4801, allocations: 1.199 MB / 0.5443 GB, free: 72.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4801, allocations: 4.625 kB / 0.5443 GB, free: 72.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4801, allocations: 0 / 0.5443 GB, free: 72.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.4829, allocations: 0.6334 MB / 0.5449 GB, free: 71.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.4832, allocations: 83.81 kB / 0.545 GB, free: 71.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.4888, allocations: 3.902 MB / 0.5488 GB, free: 67.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.4893, allocations: 31.67 kB / 0.5489 GB, free: 67.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.4893, allocations: 19.98 kB / 0.5489 GB, free: 67.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.4895, allocations: 112.9 kB / 0.549 GB, free: 67.35 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002997/0.4925, allocations: 1.135 MB / 0.5501 GB, free: 66.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.4926, allocations: 47.39 kB / 0.5501 GB, free: 66.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.4958, allocations: 1.278 MB / 0.5514 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4959, allocations: 8 kB / 0.5514 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.4959, allocations: 0 / 0.5514 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4959, allocations: 3.984 kB / 0.5514 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.4996, allocations: 2.009 MB / 0.5534 GB, free: 62.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4996, allocations: 4 kB / 0.5534 GB, free: 62.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4999, allocations: 79.89 kB / 0.5534 GB, free: 62.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.5024, allocations: 0.6352 MB / 0.5541 GB, free: 62.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.5025, allocations: 7.984 kB / 0.5541 GB, free: 62.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005472/0.508, allocations: 3.898 MB / 0.5579 GB, free: 58.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.508, allocations: 3.984 kB / 0.5579 GB, free: 58.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.511, allocations: 1.288 MB / 0.5591 GB, free: 56.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5111, allocations: 132.5 kB / 0.5593 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.5112, allocations: 3.984 kB / 0.5593 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.5116, allocations: 15.98 kB / 0.5593 GB, free: 56.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5117, allocations: 56.44 kB / 0.5593 GB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.5118, allocations: 20 kB / 0.5594 GB, free: 56.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.5119, allocations: 194 kB / 0.5595 GB, free: 56.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.512, allocations: 0 / 0.5595 GB, free: 56.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006232/0.5126, allocations: 179.8 kB / 0.5597 GB, free: 56.16 MB / 362.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: 2 ($whenCondition1,brk.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/0.5159, allocations: 1.851 MB / 0.5615 GB, free: 54.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.518, allocations: 1.015 MB / 0.5625 GB, free: 53.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5181, allocations: 0 / 0.5625 GB, free: 53.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.5197, allocations: 0.7254 MB / 0.5632 GB, free: 52.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5201, allocations: 32.77 kB / 0.5633 GB, free: 52.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5212, allocations: 0.6048 MB / 0.5638 GB, free: 51.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5215, allocations: 0.8373 MB / 0.5647 GB, free: 50.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.5217, allocations: 63.2 kB / 0.5647 GB, free: 50.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.5219, allocations: 147.4 kB / 0.5649 GB, free: 50.78 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5219, allocations: 3.938 kB / 0.5649 GB, free: 50.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.5566, allocations: 13.82 MB / 0.5784 GB, free: 36.99 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.5568, allocations: 129.3 kB / 0.5785 GB, free: 36.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.685, allocations: 4 kB / 0.5785 GB, free: 36.79 MB / 362.7 MB (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/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)