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.001073/0.001073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.42/1.42, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001274/0.001274, allocations: 172.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6033/0.6033, allocations: 91.92 MB / 433.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 12 kB / 0.5049 GB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4159, allocations: 72.47 MB / 0.5756 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003158/0.4191, allocations: 3.483 MB / 0.579 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4212, allocations: 1.109 MB / 0.5801 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.4215, allocations: 8.531 kB / 0.5801 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.4218, allocations: 109.9 kB / 0.5802 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.4221, allocations: 136.1 kB / 0.5804 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009485/0.4231, allocations: 483.4 kB / 0.5808 GB, free: 33.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.4236, allocations: 0.6075 MB / 0.5814 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.4238, allocations: 138.8 kB / 0.5815 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.424, allocations: 245.8 kB / 0.5818 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.4243, allocations: 289.5 kB / 0.5821 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.4244, allocations: 25.22 kB / 0.5821 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.4246, allocations: 84.03 kB / 0.5822 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.4247, allocations: 95.52 kB / 0.5823 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.4249, allocations: 291.7 kB / 0.5825 GB, free: 32.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.4254, allocations: 0.6678 MB / 0.5832 GB, free: 32.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4254, allocations: 0.5312 kB / 0.5832 GB, free: 32.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4254, allocations: 0 / 0.5832 GB, free: 32.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4254, allocations: 0.6562 kB / 0.5832 GB, free: 32.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.002943/0.4284, allocations: 1.16 MB / 0.5843 GB, free: 31.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.4284, allocations: 8 kB / 0.5843 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.4286, allocations: 82.64 kB / 0.5844 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.4302, allocations: 294.7 kB / 0.5847 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.4308, allocations: 436.2 kB / 0.5851 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.431, allocations: 197.1 kB / 0.5853 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.4311, allocations: 42.41 kB / 0.5853 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.4322, allocations: 0.5812 MB / 0.5859 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4322, allocations: 0.625 kB / 0.5859 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.4323, allocations: 15.16 kB / 0.5859 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.4323, allocations: 11.03 kB / 0.5859 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/0.4333, allocations: 0.5082 MB / 0.5864 GB, free: 30.63 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.002638/0.4359, allocations: 2.123 MB / 0.5885 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.448, allocations: 2.81 MB / 0.5912 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.4488, allocations: 308.4 kB / 0.5915 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.4488, allocations: 4.5 kB / 0.5915 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008508/0.4497, allocations: 399.2 kB / 0.5919 GB, free: 28.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.767e-06/0.4497, allocations: 3.984 kB / 0.5919 GB, free: 28.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.007718/0.4574, allocations: 2.607 MB / 0.5945 GB, free: 27.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.4575, allocations: 85.45 kB / 0.5945 GB, free: 27.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.4581, allocations: 415.8 kB / 0.5949 GB, free: 27.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.4582, allocations: 34.77 kB / 0.595 GB, free: 27.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4584, allocations: 277.1 kB / 0.5952 GB, free: 26.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4585, allocations: 140.2 kB / 0.5954 GB, free: 26.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.4586, allocations: 35.83 kB / 0.5954 GB, free: 26.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4587, allocations: 362.3 kB / 0.5958 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.4594, allocations: 289.7 kB / 0.596 GB, free: 26.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.4601, allocations: 335.2 kB / 0.5963 GB, free: 26.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.4614, allocations: 0.5997 MB / 0.5969 GB, free: 25.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4614, allocations: 0 / 0.5969 GB, free: 25.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004635/0.466, allocations: 1.589 MB / 0.5985 GB, free: 25.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4661, allocations: 7.141 kB / 0.5985 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4661, allocations: 1.281 kB / 0.5985 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/0.469, allocations: 0.826 MB / 0.5993 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.4692, allocations: 40.42 kB / 0.5993 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/0.4762, allocations: 4.473 MB / 0.6037 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.4769, allocations: 88.09 kB / 0.6038 GB, free: 21.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.477, allocations: 13.25 kB / 0.6038 GB, free: 21.96 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.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.4773, allocations: 177.4 kB / 0.604 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.4774, allocations: 47.12 kB / 0.604 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.4821, allocations: 1.568 MB / 0.6056 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4821, allocations: 4.844 kB / 0.6056 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4821, allocations: 1.281 kB / 0.6056 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4821, allocations: 3.734 kB / 0.6056 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.483, allocations: 0.6349 MB / 0.6062 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.483, allocations: 3.938 kB / 0.6062 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.4832, allocations: 24.12 kB / 0.6062 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.4861, allocations: 0.8335 MB / 0.607 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.4861, allocations: 7.438 kB / 0.607 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006438/0.4926, allocations: 4.434 MB / 0.6114 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4926, allocations: 6.078 kB / 0.6114 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.4976, allocations: 1.565 MB / 0.6129 GB, free: 16.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.4979, allocations: 129.2 kB / 0.613 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.4979, allocations: 7.109 kB / 0.613 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.4984, allocations: 61.73 kB / 0.6131 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/0.4988, allocations: 108.4 kB / 0.6132 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.4989, allocations: 12.58 kB / 0.6132 GB, free: 16.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.4993, allocations: 294.9 kB / 0.6135 GB, free: 16.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4993, allocations: 0 / 0.6135 GB, free: 16.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.5, allocations: 185 kB / 0.6137 GB, free: 16.63 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005227/0.5053, allocations: 2.095 MB / 0.6157 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.5089, allocations: 1.377 MB / 0.617 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5089, allocations: 3.938 kB / 0.617 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.5115, allocations: 1.061 MB / 0.6181 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.5121, allocations: 45.33 kB / 0.6181 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.526, allocations: 6.701 MB / 0.6247 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5265, allocations: 0.8635 MB / 0.6255 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.5266, allocations: 37.67 kB / 0.6256 GB, free: 8.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.5269, allocations: 184.8 kB / 0.6257 GB, free: 8.48 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5269, allocations: 3.938 kB / 0.6257 GB, free: 8.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.5522, allocations: 12.65 MB / 0.6381 GB, free: 12.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5524, allocations: 220.5 kB / 0.6383 GB, free: 12.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.651, allocations: 0 / 0.6383 GB, free: 12.2 MB / 446.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/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)