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.007543/0.007543, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.543/1.543, allocations: 223.2 MB / 239 MB, free: 1.801 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.001268/0.001268, allocations: 96.52 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5566/0.5566, allocations: 79.44 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 8 kB / 0.4891 GB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4617, allocations: 69.49 MB / 0.557 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5961, allocations: 92.95 MB / 0.6478 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5964, allocations: 75.95 kB / 0.6478 GB, free: 12.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03101/0.6274, allocations: 11.41 MB / 0.659 GB, free: 1.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6275, allocations: 0 / 0.659 GB, free: 1.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.6275, allocations: 12 kB / 0.659 GB, free: 1.121 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.003122/0.6306, allocations: 1.073 MB / 0.66 GB, free: 15.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6307, allocations: 8.25 kB / 0.66 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.6309, allocations: 86.48 kB / 0.6601 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.6321, allocations: 214.9 kB / 0.6603 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.6332, allocations: 462 kB / 0.6608 GB, free: 15.19 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.6334, allocations: 197.4 kB / 0.661 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6336, allocations: 36.69 kB / 0.661 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6348, allocations: 0.5838 MB / 0.6616 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.6348, allocations: 3.953 kB / 0.6616 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.6349, allocations: 16 kB / 0.6616 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.6349, allocations: 11.98 kB / 0.6616 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.636, allocations: 0.5031 MB / 0.6621 GB, free: 13.8 MB / 474.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.003602/0.6396, allocations: 2.142 MB / 0.6642 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6512, allocations: 2.808 MB / 0.6669 GB, free: 8.625 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.6514, allocations: 11.95 kB / 0.6669 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009927/0.6524, allocations: 387.7 kB / 0.6673 GB, free: 8.215 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 4.538e-06/0.6525, allocations: 0 / 0.6673 GB, free: 8.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.007785/0.6603, allocations: 2.674 MB / 0.6699 GB, free: 5.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.6604, allocations: 81.11 kB / 0.67 GB, free: 5.355 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.661, allocations: 365.1 kB / 0.6703 GB, free: 4.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.6611, allocations: 29.7 kB / 0.6704 GB, free: 4.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.6614, allocations: 288 kB / 0.6706 GB, free: 4.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.6616, allocations: 130.1 kB / 0.6708 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.6616, allocations: 8 kB / 0.6708 GB, free: 4.535 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6618, allocations: 358.8 kB / 0.6711 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.6624, allocations: 280.8 kB / 0.6714 GB, free: 3.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/0.6631, allocations: 338.7 kB / 0.6717 GB, free: 3.562 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.6637, allocations: 292.8 kB / 0.672 GB, free: 3.281 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6637, allocations: 0 / 0.672 GB, free: 3.281 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004554/0.6683, allocations: 1.624 MB / 0.6736 GB, free: 1.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6684, allocations: 8 kB / 0.6736 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.6684, allocations: 0 / 0.6736 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.6712, allocations: 0.8385 MB / 0.6744 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.6715, allocations: 39.92 kB / 0.6744 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/0.6793, allocations: 4.589 MB / 0.6789 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.68, allocations: 87.66 kB / 0.679 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.6801, allocations: 16 kB / 0.679 GB, free: 11.78 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 () * 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.0003805/0.6805, allocations: 165.8 kB / 0.6792 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6807, allocations: 47.44 kB / 0.6792 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/0.6853, allocations: 1.61 MB / 0.6808 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6853, allocations: 4 kB / 0.6808 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.6853, allocations: 8 kB / 0.6808 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6853, allocations: 0 / 0.6808 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6863, allocations: 0.6296 MB / 0.6814 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6864, allocations: 0 / 0.6814 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.6866, allocations: 27.94 kB / 0.6814 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002635/0.6892, allocations: 0.8424 MB / 0.6823 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.6893, allocations: 11.95 kB / 0.6823 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00761/0.6969, allocations: 4.551 MB / 0.6867 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6969, allocations: 0 / 0.6867 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.7014, allocations: 1.609 MB / 0.6883 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.7017, allocations: 136.3 kB / 0.6884 GB, free: 1.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.7018, allocations: 11.95 kB / 0.6884 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.7023, allocations: 63.95 kB / 0.6885 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.7026, allocations: 99.81 kB / 0.6886 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.7027, allocations: 8.25 kB / 0.6886 GB, free: 1.551 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004419/0.7031, allocations: 291.1 kB / 0.6889 GB, free: 1.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7031, allocations: 0 / 0.6889 GB, free: 1.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.704, allocations: 191.7 kB / 0.6891 GB, free: 1.086 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.005117/0.7091, allocations: 2.211 MB / 0.6912 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.7127, allocations: 1.384 MB / 0.6926 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7127, allocations: 0 / 0.6926 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/0.7153, allocations: 1.056 MB / 0.6936 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.7158, allocations: 37.91 kB / 0.6936 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7261, allocations: 4.434 MB / 0.698 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.7268, allocations: 0.8743 MB / 0.6988 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.727, allocations: 22.97 kB / 0.6988 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.7273, allocations: 183.3 kB / 0.699 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/0.7273, allocations: 0 / 0.699 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.7602, allocations: 12.44 MB / 0.7112 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.7605, allocations: 189.1 kB / 0.7113 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.425, allocations: 4 kB / 0.7114 GB, free: 10.08 MB / 0.5105 GB (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)