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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001124, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 238.9 MB, free: 5.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 189 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5261/0.5261, allocations: 79.45 MB / 420.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.00038, allocations: 8 kB / 0.4891 GB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4385, allocations: 69.51 MB / 0.557 GB, free: 38.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003343/0.4419, allocations: 3.153 MB / 0.56 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.4441, allocations: 1.072 MB / 0.5611 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.4444, allocations: 6.219 kB / 0.5611 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.4448, allocations: 88.69 kB / 0.5612 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.4452, allocations: 178 kB / 0.5613 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.4462, allocations: 426.3 kB / 0.5617 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.4469, allocations: 428.4 kB / 0.5622 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.4471, allocations: 127.8 kB / 0.5623 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.4474, allocations: 239.8 kB / 0.5625 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.4477, allocations: 268.8 kB / 0.5628 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.4478, allocations: 23.84 kB / 0.5628 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.448, allocations: 77.05 kB / 0.5629 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.448, allocations: 94.02 kB / 0.5629 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.4481, allocations: 120.7 kB / 0.5631 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.4487, allocations: 0.492 MB / 0.5635 GB, free: 37.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.4487, allocations: 0 / 0.5635 GB, free: 37.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4487, allocations: 0 / 0.5635 GB, free: 37.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.4487, allocations: 3.938 kB / 0.5635 GB, free: 37.33 MB / 430.1 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.003111/0.4518, allocations: 1.161 MB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4519, allocations: 7.406 kB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.808e-05/0.452, allocations: 83.97 kB / 0.5648 GB, free: 36.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.4536, allocations: 293 kB / 0.565 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.4542, allocations: 417.8 kB / 0.5654 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.4544, allocations: 192.5 kB / 0.5656 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.4545, allocations: 45.86 kB / 0.5657 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4555, allocations: 0.5778 MB / 0.5662 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4555, allocations: 1.031 kB / 0.5662 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.4556, allocations: 17.19 kB / 0.5663 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4556, allocations: 11.67 kB / 0.5663 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.4565, allocations: 0.5023 MB / 0.5668 GB, free: 36.21 MB / 430.1 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.002564/0.4591, allocations: 2.119 MB / 0.5688 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.4703, allocations: 2.816 MB / 0.5716 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4704, allocations: 9.875 kB / 0.5716 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/0.4712, allocations: 386 kB / 0.572 GB, free: 34.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.4713, allocations: 3.938 kB / 0.572 GB, free: 34.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.007044/0.4783, allocations: 2.587 MB / 0.5745 GB, free: 34.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.4784, allocations: 91.05 kB / 0.5746 GB, free: 34.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.479, allocations: 416 kB / 0.575 GB, free: 34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.4791, allocations: 33.36 kB / 0.575 GB, free: 33.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.4792, allocations: 279.2 kB / 0.5753 GB, free: 33.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.4794, allocations: 133.3 kB / 0.5754 GB, free: 33.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.4794, allocations: 6.719 kB / 0.5754 GB, free: 33.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.4795, allocations: 362.1 kB / 0.5757 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.4801, allocations: 288.1 kB / 0.576 GB, free: 33.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.4808, allocations: 324.5 kB / 0.5763 GB, free: 33.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.4815, allocations: 298.5 kB / 0.5766 GB, free: 33.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4815, allocations: 2.562 kB / 0.5766 GB, free: 33.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004228/0.4857, allocations: 1.592 MB / 0.5782 GB, free: 32.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4858, allocations: 9.188 kB / 0.5782 GB, free: 32.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4858, allocations: 1.172 kB / 0.5782 GB, free: 32.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.4885, allocations: 0.8297 MB / 0.579 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.4888, allocations: 40.36 kB / 0.579 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.4955, allocations: 4.586 MB / 0.5835 GB, free: 29.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.4962, allocations: 81.67 kB / 0.5836 GB, free: 29.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.4963, allocations: 13.22 kB / 0.5836 GB, free: 29.42 MB / 430.1 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.0003124/0.4966, allocations: 171.3 kB / 0.5838 GB, free: 29.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4968, allocations: 51.28 kB / 0.5838 GB, free: 29.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.5012, allocations: 1.562 MB / 0.5853 GB, free: 28.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5012, allocations: 8.656 kB / 0.5853 GB, free: 28.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5012, allocations: 5.594 kB / 0.5853 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5012, allocations: 0 / 0.5853 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.502, allocations: 0.6262 MB / 0.586 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.502, allocations: 4.125 kB / 0.586 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5022, allocations: 36.3 kB / 0.586 GB, free: 28.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.5049, allocations: 0.8273 MB / 0.5868 GB, free: 28.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.505, allocations: 6.969 kB / 0.5868 GB, free: 28.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.5115, allocations: 4.551 MB / 0.5913 GB, free: 24.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5116, allocations: 5.438 kB / 0.5913 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.5163, allocations: 1.572 MB / 0.5928 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.5166, allocations: 136.8 kB / 0.5929 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5167, allocations: 9.844 kB / 0.5929 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.5173, allocations: 61.55 kB / 0.593 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.5176, allocations: 101 kB / 0.5931 GB, free: 24.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.5176, allocations: 12.03 kB / 0.5931 GB, free: 24.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.5181, allocations: 286.4 kB / 0.5934 GB, free: 24.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5181, allocations: 0 / 0.5934 GB, free: 24.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009612/0.5191, allocations: 183.9 kB / 0.5936 GB, free: 24.09 MB / 430.1 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.004884/0.524, allocations: 2.162 MB / 0.5957 GB, free: 23.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.5275, allocations: 1.394 MB / 0.597 GB, free: 22.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5275, allocations: 1.438 kB / 0.597 GB, free: 22.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.53, allocations: 1.054 MB / 0.5981 GB, free: 21.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.5306, allocations: 46.27 kB / 0.5981 GB, free: 21.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.54, allocations: 4.409 MB / 0.6024 GB, free: 19.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.5406, allocations: 0.8715 MB / 0.6033 GB, free: 18.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.5408, allocations: 33.06 kB / 0.6033 GB, free: 18.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.5411, allocations: 185.7 kB / 0.6035 GB, free: 18.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5411, allocations: 4 kB / 0.6035 GB, free: 18.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.5809, allocations: 12.48 MB / 0.6157 GB, free: 15.79 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.5811, allocations: 187.1 kB / 0.6158 GB, free: 15.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.589, allocations: 0 / 0.6158 GB, free: 15.55 MB / 430.1 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) Environment - environmentSimulation: