Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_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.007304/0.007304, allocations: 172 kB / 15.11 MB, free: 5.98 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.481/1.481, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 96 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5447/0.5447, allocations: 78.52 MB / 419.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 8 kB / 499.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 69.36 MB / 0.5558 GB, free: 1.711 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5064/0.6626, allocations: 92.35 MB / 0.646 GB, free: 9.703 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.6629, allocations: 79.53 kB / 0.6461 GB, free: 9.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02684/0.6898, allocations: 11.3 MB / 0.6571 GB, free: 15.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6898, allocations: 0 / 0.6571 GB, free: 15.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.6898, allocations: 8 kB / 0.6571 GB, free: 15.05 MB / 458.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.002596/0.6924, allocations: 1.069 MB / 0.6582 GB, free: 13.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6925, allocations: 12.03 kB / 0.6582 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.6926, allocations: 90.52 kB / 0.6583 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.6937, allocations: 215 kB / 0.6585 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.6946, allocations: 454 kB / 0.6589 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.6949, allocations: 193.5 kB / 0.6591 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.6949, allocations: 44 kB / 0.6591 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.696, allocations: 0.5727 MB / 0.6597 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6961, allocations: 1.688 kB / 0.6597 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.6961, allocations: 23.95 kB / 0.6597 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6962, allocations: 12 kB / 0.6597 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.6971, allocations: 0.5031 MB / 0.6602 GB, free: 11.74 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00308/0.7002, allocations: 2.142 MB / 0.6623 GB, free: 9.395 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.7114, allocations: 2.804 MB / 0.665 GB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.7115, allocations: 7.953 kB / 0.665 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008687/0.7124, allocations: 395.7 kB / 0.6654 GB, free: 6.156 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.896e-06/0.7124, allocations: 0 / 0.6654 GB, free: 6.156 MB / 458.7 MB Notification: Performance of matching and sorting (n=40): time 0.007442/0.7199, allocations: 2.67 MB / 0.668 GB, free: 3.398 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.72, allocations: 81.11 kB / 0.6681 GB, free: 3.301 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.7206, allocations: 369.1 kB / 0.6685 GB, free: 2.941 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.7206, allocations: 29.7 kB / 0.6685 GB, free: 2.906 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.7209, allocations: 284 kB / 0.6688 GB, free: 2.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.7211, allocations: 132.1 kB / 0.6689 GB, free: 2.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.7211, allocations: 15.94 kB / 0.6689 GB, free: 2.477 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7213, allocations: 354.8 kB / 0.6692 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.7219, allocations: 288.7 kB / 0.6695 GB, free: 1.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.7225, allocations: 326.8 kB / 0.6698 GB, free: 1.512 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.7232, allocations: 291.9 kB / 0.6701 GB, free: 1.227 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.7232, allocations: 0 / 0.6701 GB, free: 1.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004351/0.7275, allocations: 1.628 MB / 0.6717 GB, free: 15.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.7276, allocations: 4 kB / 0.6717 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7276, allocations: 0 / 0.6717 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.7302, allocations: 0.8386 MB / 0.6725 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.7305, allocations: 43.91 kB / 0.6726 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.7377, allocations: 4.59 MB / 0.677 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000653/0.7384, allocations: 79.7 kB / 0.6771 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.7384, allocations: 15.95 kB / 0.6771 GB, free: 9.746 MB / 474.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 () * Number of clocked 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.0003751/0.7388, allocations: 170.5 kB / 0.6773 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.7389, allocations: 48.62 kB / 0.6773 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.7433, allocations: 1.61 MB / 0.6789 GB, free: 7.902 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.7433, allocations: 8 kB / 0.6789 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7433, allocations: 0 / 0.6789 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.7433, allocations: 3.938 kB / 0.6789 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.7442, allocations: 0.6296 MB / 0.6795 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7442, allocations: 0 / 0.6795 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.7443, allocations: 27.92 kB / 0.6796 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.7469, allocations: 0.8386 MB / 0.6804 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.747, allocations: 13.95 kB / 0.6804 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006713/0.7537, allocations: 4.547 MB / 0.6848 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7538, allocations: 0 / 0.6848 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.7581, allocations: 1.616 MB / 0.6864 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.7583, allocations: 136.3 kB / 0.6865 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.7584, allocations: 6.312 kB / 0.6866 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.7589, allocations: 67.89 kB / 0.6866 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.7592, allocations: 95.83 kB / 0.6867 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.7592, allocations: 15.98 kB / 0.6867 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004116/0.7596, allocations: 287.1 kB / 0.687 GB, free: 15.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7596, allocations: 0 / 0.687 GB, free: 15.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008098/0.7605, allocations: 191.7 kB / 0.6872 GB, free: 15.06 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 () * Number of clocked 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.004681/0.7651, allocations: 2.206 MB / 0.6893 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.7683, allocations: 1.381 MB / 0.6907 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7684, allocations: 0 / 0.6907 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.7707, allocations: 1.061 MB / 0.6917 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.7712, allocations: 44.08 kB / 0.6918 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.78, allocations: 4.427 MB / 0.6961 GB, free: 5.703 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.7806, allocations: 0.8742 MB / 0.6969 GB, free: 4.801 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.7808, allocations: 30.97 kB / 0.697 GB, free: 4.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.781, allocations: 175.4 kB / 0.6971 GB, free: 4.602 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/0.781, allocations: 0 / 0.6971 GB, free: 4.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.8107, allocations: 12.43 MB / 0.7093 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.811, allocations: 191.3 kB / 0.7095 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.345, allocations: 0 / 0.7095 GB, free: 8.145 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)