Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",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.001826/0.001826, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008932, allocations: 90.92 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4731/0.4731, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/3.034e-05, allocations: 0 / 491.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3874, allocations: 69.35 MB / 0.5481 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.5033, allocations: 92.29 MB / 0.6382 GB, free: 8.285 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.5035, allocations: 67.97 kB / 0.6383 GB, free: 8.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03064/0.5341, allocations: 11.24 MB / 0.6493 GB, free: 12.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.778e-06/0.5342, allocations: 0 / 0.6493 GB, free: 12.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.5342, allocations: 15.94 kB / 0.6493 GB, free: 12.88 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002603/0.5368, allocations: 0.9986 MB / 0.6502 GB, free: 11.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5369, allocations: 15.95 kB / 0.6503 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.537, allocations: 86.53 kB / 0.6503 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5381, allocations: 219 kB / 0.6505 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.5391, allocations: 449.6 kB / 0.651 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.5393, allocations: 193.5 kB / 0.6512 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.5394, allocations: 44 kB / 0.6512 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.5403, allocations: 494.6 kB / 0.6517 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5403, allocations: 4 kB / 0.6517 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.5403, allocations: 27.92 kB / 0.6517 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5404, allocations: 12 kB / 0.6517 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.5411, allocations: 407.4 kB / 0.6521 GB, free: 9.832 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.5441, allocations: 2.144 MB / 0.6542 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.5558, allocations: 2.671 MB / 0.6568 GB, free: 4.789 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.5563, allocations: 225.7 kB / 0.657 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.898e-05/0.5564, allocations: 4 kB / 0.657 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.557, allocations: 307.8 kB / 0.6573 GB, free: 4.238 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.557, allocations: 0 / 0.6573 GB, free: 4.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.004032/0.561, allocations: 1.313 MB / 0.6586 GB, free: 2.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.5611, allocations: 81.11 kB / 0.6587 GB, free: 2.812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.5617, allocations: 355.2 kB / 0.659 GB, free: 2.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.5617, allocations: 37.7 kB / 0.6591 GB, free: 2.414 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.562, allocations: 284 kB / 0.6593 GB, free: 2.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5621, allocations: 134 kB / 0.6595 GB, free: 2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.5622, allocations: 12 kB / 0.6595 GB, free: 1.988 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5623, allocations: 358.8 kB / 0.6598 GB, free: 1.629 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.5627, allocations: 196.9 kB / 0.66 GB, free: 1.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.5631, allocations: 234.9 kB / 0.6602 GB, free: 1.199 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.5634, allocations: 217.6 kB / 0.6604 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5634, allocations: 0 / 0.6604 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003912/0.5674, allocations: 1.374 MB / 0.6618 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.5674, allocations: 6.031 kB / 0.6618 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.5674, allocations: 0 / 0.6618 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.5697, allocations: 0.6903 MB / 0.6624 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.57, allocations: 43.92 kB / 0.6625 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.5755, allocations: 4.075 MB / 0.6665 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.5761, allocations: 91.56 kB / 0.6666 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.5762, allocations: 8.078 kB / 0.6666 GB, free: 10.41 MB / 490.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: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.5763, allocations: 130.9 kB / 0.6667 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.5764, allocations: 47.69 kB / 0.6667 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/0.5804, allocations: 1.367 MB / 0.6681 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5804, allocations: 8 kB / 0.6681 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5804, allocations: 4 kB / 0.6681 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5804, allocations: 3.984 kB / 0.6681 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/0.5813, allocations: 0.6141 MB / 0.6687 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5813, allocations: 3.938 kB / 0.6687 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.5815, allocations: 31.98 kB / 0.6687 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/0.5837, allocations: 0.698 MB / 0.6694 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.5837, allocations: 11.95 kB / 0.6694 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.5889, allocations: 4.038 MB / 0.6734 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5889, allocations: 0 / 0.6734 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.5926, allocations: 1.362 MB / 0.6747 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.5927, allocations: 128.4 kB / 0.6748 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.5928, allocations: 15.94 kB / 0.6748 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.5933, allocations: 59.95 kB / 0.6749 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.5936, allocations: 103.8 kB / 0.675 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.5937, allocations: 8.25 kB / 0.675 GB, free: 1.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003854/0.5941, allocations: 281.2 kB / 0.6753 GB, free: 1.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.835e-06/0.5941, allocations: 0 / 0.6753 GB, free: 1.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008059/0.5949, allocations: 203.5 kB / 0.6755 GB, free: 0.8945 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.3004/0.8953, allocations: 1.968 MB / 0.6774 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.8983, allocations: 1.209 MB / 0.6786 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8983, allocations: 2.906 kB / 0.6786 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.9006, allocations: 0.9646 MB / 0.6795 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.9011, allocations: 33.62 kB / 0.6795 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.9033, allocations: 0.7496 MB / 0.6803 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.9037, allocations: 0.8711 MB / 0.6811 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.9039, allocations: 27.77 kB / 0.6811 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.9041, allocations: 183.1 kB / 0.6813 GB, free: 113.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9041, allocations: 0 / 0.6813 GB, free: 113.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.9431, allocations: 12.49 MB / 0.6935 GB, free: 111.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.9433, allocations: 177 kB / 0.6937 GB, free: 111.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/3.17, allocations: 0 / 0.6937 GB, free: 111.7 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)