Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.2 MB / 218.5 MB, free: 9.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.0009202, allocations: 82.59 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07951/0.07951, allocations: 12.2 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2923/0.2923, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.779e-05/4.781e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 69.24 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4316/0.5771, allocations: 93.82 MB / 0.6806 GB, free: 6.402 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5774, allocations: 70.22 kB / 0.6806 GB, free: 6.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02511/0.6025, allocations: 10.89 MB / 0.6913 GB, free: 13.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6025, allocations: 0 / 0.6913 GB, free: 13.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.6025, allocations: 8 kB / 0.6913 GB, free: 13.18 MB / 442.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.00233/0.6049, allocations: 0.9951 MB / 0.6922 GB, free: 12.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6049, allocations: 19.98 kB / 0.6923 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.6051, allocations: 89.77 kB / 0.6923 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6061, allocations: 209.3 kB / 0.6925 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/0.6069, allocations: 455.3 kB / 0.693 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.6071, allocations: 198.9 kB / 0.6932 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.6072, allocations: 42.25 kB / 0.6932 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.608, allocations: 493.7 kB / 0.6937 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.608, allocations: 0 / 0.6937 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.6081, allocations: 18.56 kB / 0.6937 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6081, allocations: 12 kB / 0.6937 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.6087, allocations: 407.9 kB / 0.6941 GB, free: 10.66 MB / 442.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.002929/0.6117, allocations: 2.154 MB / 0.6962 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.623, allocations: 2.676 MB / 0.6988 GB, free: 6.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.6235, allocations: 218.5 kB / 0.699 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.6235, allocations: 4 kB / 0.699 GB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.6241, allocations: 306 kB / 0.6993 GB, free: 5.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 4.749e-06/0.6241, allocations: 0 / 0.6993 GB, free: 5.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.003822/0.628, allocations: 1.317 MB / 0.7006 GB, free: 4.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.628, allocations: 88.73 kB / 0.7007 GB, free: 4.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.6286, allocations: 358.1 kB / 0.701 GB, free: 4.293 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.6287, allocations: 29.2 kB / 0.7011 GB, free: 4.262 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.6289, allocations: 282.8 kB / 0.7013 GB, free: 4.062 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.629, allocations: 140.8 kB / 0.7015 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.6291, allocations: 7.812 kB / 0.7015 GB, free: 3.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6292, allocations: 357.6 kB / 0.7018 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.6295, allocations: 198.4 kB / 0.702 GB, free: 3.496 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.6299, allocations: 240.1 kB / 0.7022 GB, free: 3.348 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.6302, allocations: 200.9 kB / 0.7024 GB, free: 3.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6302, allocations: 3.953 kB / 0.7024 GB, free: 3.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003687/0.6339, allocations: 1.371 MB / 0.7038 GB, free: 2.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6339, allocations: 8 kB / 0.7038 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.634, allocations: 0 / 0.7038 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.6362, allocations: 0.692 MB / 0.7044 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.6364, allocations: 39.48 kB / 0.7045 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.6419, allocations: 4.081 MB / 0.7085 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.6425, allocations: 82.58 kB / 0.7085 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.6425, allocations: 15.69 kB / 0.7086 GB, free: 13.7 MB / 458.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.0001562/0.6427, allocations: 123.5 kB / 0.7087 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6428, allocations: 55.33 kB / 0.7087 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.6465, allocations: 1.359 MB / 0.7101 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6465, allocations: 4 kB / 0.7101 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6465, allocations: 4 kB / 0.7101 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6465, allocations: 3.984 kB / 0.7101 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.6473, allocations: 0.6228 MB / 0.7107 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6473, allocations: 0 / 0.7107 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.6475, allocations: 27.92 kB / 0.7107 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.6496, allocations: 0.6905 MB / 0.7114 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.6497, allocations: 7.5 kB / 0.7114 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/0.6547, allocations: 4.051 MB / 0.7153 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6548, allocations: 0 / 0.7153 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.6584, allocations: 1.37 MB / 0.7167 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.6586, allocations: 124 kB / 0.7168 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.6586, allocations: 7.438 kB / 0.7168 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.6591, allocations: 65.94 kB / 0.7169 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.6594, allocations: 104.4 kB / 0.717 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.6594, allocations: 10.81 kB / 0.717 GB, free: 6.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.6597, allocations: 279.5 kB / 0.7172 GB, free: 5.949 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6598, allocations: 0 / 0.7172 GB, free: 5.949 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006331/0.6604, allocations: 192.9 kB / 0.7174 GB, free: 5.777 MB / 458.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.00396/0.6644, allocations: 1.983 MB / 0.7194 GB, free: 3.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002747/0.6671, allocations: 1.211 MB / 0.7205 GB, free: 2.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6671, allocations: 0 / 0.7205 GB, free: 2.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.6693, allocations: 0.9691 MB / 0.7215 GB, free: 2.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.6697, allocations: 33.19 kB / 0.7215 GB, free: 2.012 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.6718, allocations: 0.7667 MB / 0.7223 GB, free: 1.309 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6723, allocations: 0.8704 MB / 0.7231 GB, free: 420 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.6724, allocations: 22.98 kB / 0.7231 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.6726, allocations: 182.3 kB / 0.7233 GB, free: 356 kB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6726, allocations: 0 / 0.7233 GB, free: 356 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.7033, allocations: 12.5 MB / 0.7355 GB, free: 3.953 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.7035, allocations: 167.9 kB / 0.7357 GB, free: 3.727 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.898, allocations: 0 / 0.7357 GB, free: 3.727 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)