Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_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.001133/0.001133, allocations: 174.7 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.216/1.216, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008154/0.0008155, allocations: 89.28 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.032e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 69.49 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4359, allocations: 92.88 MB / 0.6399 GB, free: 6.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4362, allocations: 71.97 kB / 0.64 GB, free: 6.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02883/0.465, allocations: 11.36 MB / 0.6511 GB, free: 11.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.465, allocations: 0 / 0.6511 GB, free: 11.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.4651, allocations: 12.16 kB / 0.6511 GB, free: 11.21 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.00237/0.4674, allocations: 0.9986 MB / 0.652 GB, free: 10.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4675, allocations: 11.97 kB / 0.6521 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.4676, allocations: 90.47 kB / 0.6521 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4686, allocations: 215 kB / 0.6523 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/0.4695, allocations: 457.6 kB / 0.6528 GB, free: 9.355 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.4697, allocations: 189.5 kB / 0.653 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.4697, allocations: 43.94 kB / 0.653 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.4706, allocations: 498.6 kB / 0.6535 GB, free: 8.602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4706, allocations: 4 kB / 0.6535 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.4706, allocations: 23.94 kB / 0.6535 GB, free: 8.574 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4707, allocations: 8 kB / 0.6535 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.4713, allocations: 399.5 kB / 0.6539 GB, free: 8.176 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.00296/0.4743, allocations: 2.144 MB / 0.656 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.4855, allocations: 2.689 MB / 0.6586 GB, free: 3.117 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.486, allocations: 218.9 kB / 0.6588 GB, free: 2.898 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.4861, allocations: 11.98 kB / 0.6588 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.4867, allocations: 295.9 kB / 0.6591 GB, free: 2.578 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.4867, allocations: 0 / 0.6591 GB, free: 2.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.003833/0.4905, allocations: 1.316 MB / 0.6604 GB, free: 1.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.4906, allocations: 85.11 kB / 0.6605 GB, free: 1.145 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.4912, allocations: 351.2 kB / 0.6608 GB, free: 0.793 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.4912, allocations: 33.7 kB / 0.6609 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.4914, allocations: 288 kB / 0.6611 GB, free: 480 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4916, allocations: 134 kB / 0.6613 GB, free: 344 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4916, allocations: 8 kB / 0.6613 GB, free: 336 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4918, allocations: 358.8 kB / 0.6616 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.4921, allocations: 192.9 kB / 0.6618 GB, free: 15.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.4925, allocations: 234.9 kB / 0.662 GB, free: 15.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.4929, allocations: 213.5 kB / 0.6622 GB, free: 15.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4929, allocations: 3.938 kB / 0.6622 GB, free: 15.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003752/0.4967, allocations: 1.377 MB / 0.6636 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4967, allocations: 4 kB / 0.6636 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4967, allocations: 4 kB / 0.6636 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.499, allocations: 0.6903 MB / 0.6642 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.4992, allocations: 43.92 kB / 0.6643 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.5049, allocations: 4.076 MB / 0.6683 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.5055, allocations: 87.56 kB / 0.6684 GB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.5055, allocations: 12 kB / 0.6684 GB, free: 8.746 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.0001441/0.5057, allocations: 135.7 kB / 0.6685 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5058, allocations: 51.42 kB / 0.6685 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.5096, allocations: 1.359 MB / 0.6699 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5096, allocations: 8 kB / 0.6699 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5096, allocations: 0 / 0.6699 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5096, allocations: 7.984 kB / 0.6699 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.5103, allocations: 0.6102 MB / 0.6705 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5104, allocations: 4.25 kB / 0.6705 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.5105, allocations: 23.98 kB / 0.6705 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.5127, allocations: 0.7019 MB / 0.6712 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.5127, allocations: 15.95 kB / 0.6712 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.5179, allocations: 4.046 MB / 0.6752 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5179, allocations: 0 / 0.6752 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.5216, allocations: 1.354 MB / 0.6765 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3016/0.8231, allocations: 125.4 kB / 0.6766 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.8233, allocations: 12.06 kB / 0.6766 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.8239, allocations: 60.47 kB / 0.6767 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.8243, allocations: 100.8 kB / 0.6768 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.8243, allocations: 13.97 kB / 0.6768 GB, free: 115.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004391/0.8247, allocations: 283.3 kB / 0.6771 GB, free: 115 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8248, allocations: 1.531 kB / 0.6771 GB, free: 115 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006741/0.8254, allocations: 190.1 kB / 0.6772 GB, free: 115 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.004134/0.8296, allocations: 1.981 MB / 0.6792 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.8324, allocations: 1.208 MB / 0.6803 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8324, allocations: 0 / 0.6803 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.8347, allocations: 0.9762 MB / 0.6813 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.835, allocations: 34.91 kB / 0.6813 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.8369, allocations: 0.7469 MB / 0.6821 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.8373, allocations: 0.8711 MB / 0.6829 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.8374, allocations: 25.64 kB / 0.6829 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.8377, allocations: 182.3 kB / 0.6831 GB, free: 112.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8377, allocations: 0 / 0.6831 GB, free: 112.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.8626, allocations: 12.48 MB / 0.6953 GB, free: 110.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.8628, allocations: 171.9 kB / 0.6955 GB, free: 110.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/3.016, allocations: 0 / 0.6955 GB, free: 110.6 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)