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.0009233/0.0009233, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.404/1.404, allocations: 223.3 MB / 239 MB, free: 5.621 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.001225/0.001225, allocations: 180.5 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5403/0.5403, allocations: 79.48 MB / 420.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 12 kB / 0.4892 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4114, allocations: 69.5 MB / 0.5571 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003325/0.4148, allocations: 3.3 MB / 0.5603 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4165, allocations: 1.045 MB / 0.5613 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.4167, allocations: 9.312 kB / 0.5613 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.417, allocations: 94.14 kB / 0.5614 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.4173, allocations: 151.2 kB / 0.5616 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.4181, allocations: 426.8 kB / 0.562 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.4186, allocations: 0.5839 MB / 0.5625 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.4189, allocations: 130.7 kB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.4191, allocations: 237 kB / 0.5629 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.4194, allocations: 275.6 kB / 0.5632 GB, free: 37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.4195, allocations: 25.53 kB / 0.5632 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.4197, allocations: 78.08 kB / 0.5633 GB, free: 37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.4198, allocations: 98.61 kB / 0.5633 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.4199, allocations: 116.5 kB / 0.5635 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.4204, allocations: 0.5203 MB / 0.564 GB, free: 36.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4204, allocations: 0 / 0.564 GB, free: 36.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4204, allocations: 0.5625 kB / 0.564 GB, free: 36.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4204, allocations: 0 / 0.564 GB, free: 36.86 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.002596/0.423, allocations: 1.169 MB / 0.5651 GB, free: 36.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4231, allocations: 9.344 kB / 0.5651 GB, free: 36.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.333e-05/0.4232, allocations: 84.02 kB / 0.5652 GB, free: 36.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.4246, allocations: 294 kB / 0.5655 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4251, allocations: 415 kB / 0.5659 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.4252, allocations: 190.3 kB / 0.5661 GB, free: 35.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4253, allocations: 39.62 kB / 0.5661 GB, free: 35.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.4263, allocations: 0.5927 MB / 0.5667 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4263, allocations: 0.5625 kB / 0.5667 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4263, allocations: 16.94 kB / 0.5667 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4263, allocations: 13.36 kB / 0.5667 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.4272, allocations: 0.4958 MB / 0.5672 GB, free: 35.73 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.002281/0.4295, allocations: 2.124 MB / 0.5693 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009108/0.4386, allocations: 2.808 MB / 0.572 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.4392, allocations: 313.5 kB / 0.5723 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.4392, allocations: 7.672 kB / 0.5723 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.4399, allocations: 391.3 kB / 0.5727 GB, free: 34.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.44, allocations: 0 / 0.5727 GB, free: 34.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.005976/0.4459, allocations: 2.597 MB / 0.5752 GB, free: 33.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.446, allocations: 84.52 kB / 0.5753 GB, free: 33.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.4465, allocations: 415.6 kB / 0.5757 GB, free: 33.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.4466, allocations: 34.7 kB / 0.5757 GB, free: 33.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.4468, allocations: 278.7 kB / 0.576 GB, free: 33.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4469, allocations: 133.3 kB / 0.5761 GB, free: 33.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.4469, allocations: 10.47 kB / 0.5761 GB, free: 33.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.447, allocations: 355.9 kB / 0.5765 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.4475, allocations: 294.3 kB / 0.5768 GB, free: 32.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.448, allocations: 324.7 kB / 0.5771 GB, free: 32.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.4486, allocations: 303.1 kB / 0.5773 GB, free: 32.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4487, allocations: 0 / 0.5773 GB, free: 32.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003577/0.4522, allocations: 1.587 MB / 0.5789 GB, free: 32.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4523, allocations: 10.59 kB / 0.5789 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4523, allocations: 0 / 0.5789 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.4545, allocations: 0.8295 MB / 0.5797 GB, free: 32.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4547, allocations: 54.16 kB / 0.5798 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.4609, allocations: 4.464 MB / 0.5841 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.4616, allocations: 82.23 kB / 0.5842 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.4616, allocations: 16.97 kB / 0.5842 GB, free: 28.99 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.0002818/0.4619, allocations: 165 kB / 0.5844 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.462, allocations: 50.28 kB / 0.5844 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.4661, allocations: 1.569 MB / 0.586 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4662, allocations: 4.594 kB / 0.586 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4662, allocations: 2.094 kB / 0.586 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4662, allocations: 1.156 kB / 0.586 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.467, allocations: 0.6279 MB / 0.5866 GB, free: 28.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.467, allocations: 1.125 kB / 0.5866 GB, free: 28.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4672, allocations: 24.64 kB / 0.5866 GB, free: 28.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.4696, allocations: 0.8368 MB / 0.5874 GB, free: 27.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.4696, allocations: 10.22 kB / 0.5874 GB, free: 27.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/0.4752, allocations: 4.426 MB / 0.5918 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4752, allocations: 1.281 kB / 0.5918 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.4791, allocations: 1.561 MB / 0.5933 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.4792, allocations: 137.2 kB / 0.5934 GB, free: 23.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.4793, allocations: 11.34 kB / 0.5934 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.4797, allocations: 57.08 kB / 0.5935 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.48, allocations: 104.9 kB / 0.5936 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.48, allocations: 11.22 kB / 0.5936 GB, free: 23.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.4804, allocations: 290.5 kB / 0.5939 GB, free: 23.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 1.375 kB / 0.5939 GB, free: 23.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.4811, allocations: 180.4 kB / 0.594 GB, free: 23.72 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.004077/0.4852, allocations: 2.087 MB / 0.5961 GB, free: 22.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.488, allocations: 1.39 MB / 0.5974 GB, free: 22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.488, allocations: 1.375 kB / 0.5974 GB, free: 22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.49, allocations: 1.058 MB / 0.5985 GB, free: 21.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4905, allocations: 46 kB / 0.5985 GB, free: 21.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.4984, allocations: 4.111 MB / 0.6025 GB, free: 19.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4989, allocations: 0.8585 MB / 0.6034 GB, free: 18.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.499, allocations: 34.38 kB / 0.6034 GB, free: 18.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4993, allocations: 183.6 kB / 0.6036 GB, free: 18.72 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4993, allocations: 3.938 kB / 0.6036 GB, free: 18.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09233/0.5916, allocations: 12.52 MB / 0.6158 GB, free: 15.75 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.5918, allocations: 195.3 kB / 0.616 GB, free: 15.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.64, allocations: 0 / 0.616 GB, free: 15.52 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: