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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.0009151, 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.322/1.322, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.0011/0.0011, allocations: 185 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4673/0.4673, allocations: 78.53 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 11.98 kB / 499.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 69.36 MB / 0.5558 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.2698/0.4, allocations: 3.133 MB / 0.5588 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4017, allocations: 1.076 MB / 0.5599 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.4019, allocations: 8.094 kB / 0.5599 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.4022, allocations: 92.77 kB / 0.56 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.4025, allocations: 180 kB / 0.5601 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.4034, allocations: 419.9 kB / 0.5605 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.4039, allocations: 432.1 kB / 0.5609 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.4041, allocations: 121.7 kB / 0.5611 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.4044, allocations: 243.8 kB / 0.5613 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.4047, allocations: 262.7 kB / 0.5615 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.855e-05/0.4047, allocations: 24.62 kB / 0.5616 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.4049, allocations: 82.42 kB / 0.5617 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.405, allocations: 87.91 kB / 0.5617 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.4051, allocations: 120.9 kB / 0.5619 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.4056, allocations: 0.4917 MB / 0.5623 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.4056, allocations: 0 / 0.5623 GB, free: 37.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4056, allocations: 1.781 kB / 0.5623 GB, free: 37.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4056, allocations: 3.938 kB / 0.5623 GB, free: 37.05 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.002992/0.4086, allocations: 1.155 MB / 0.5635 GB, free: 36.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4087, allocations: 12.58 kB / 0.5635 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.4088, allocations: 88.41 kB / 0.5636 GB, free: 36.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4104, allocations: 290.2 kB / 0.5638 GB, free: 36.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.4109, allocations: 418.4 kB / 0.5642 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.4111, allocations: 190.4 kB / 0.5644 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.4112, allocations: 42.19 kB / 0.5645 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.4122, allocations: 0.581 MB / 0.565 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4122, allocations: 4.688 kB / 0.565 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.4123, allocations: 18.03 kB / 0.565 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4123, allocations: 12.03 kB / 0.5651 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.4132, allocations: 0.4959 MB / 0.5655 GB, free: 35.94 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.002539/0.4157, allocations: 2.124 MB / 0.5676 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.4266, allocations: 2.808 MB / 0.5704 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.4268, allocations: 5.109 kB / 0.5704 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008012/0.4276, allocations: 397.2 kB / 0.5707 GB, free: 34.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.4276, allocations: 0 / 0.5707 GB, free: 34.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006668/0.4343, allocations: 2.6 MB / 0.5733 GB, free: 33.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4344, allocations: 79.7 kB / 0.5734 GB, free: 33.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.4349, allocations: 415.5 kB / 0.5738 GB, free: 33.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.435, allocations: 31.55 kB / 0.5738 GB, free: 33.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.4352, allocations: 279.1 kB / 0.574 GB, free: 33.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.4353, allocations: 131.9 kB / 0.5742 GB, free: 33.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.4353, allocations: 14.53 kB / 0.5742 GB, free: 33.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.4354, allocations: 357.9 kB / 0.5745 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.436, allocations: 287.2 kB / 0.5748 GB, free: 33.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.4366, allocations: 336.8 kB / 0.5751 GB, free: 33.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4373, allocations: 287.2 kB / 0.5754 GB, free: 33.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4373, allocations: 2.938 kB / 0.5754 GB, free: 33.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004032/0.4413, allocations: 1.596 MB / 0.577 GB, free: 32.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4414, allocations: 9.844 kB / 0.577 GB, free: 32.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4414, allocations: 0 / 0.577 GB, free: 32.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.4439, allocations: 0.8307 MB / 0.5778 GB, free: 32.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.4442, allocations: 41.75 kB / 0.5778 GB, free: 32.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.451, allocations: 4.587 MB / 0.5823 GB, free: 29.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.4517, allocations: 86.09 kB / 0.5824 GB, free: 29.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.4518, allocations: 12.84 kB / 0.5824 GB, free: 29.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.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.0002877/0.4521, allocations: 168.5 kB / 0.5826 GB, free: 29.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4522, allocations: 51.59 kB / 0.5826 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.4565, allocations: 1.563 MB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4565, allocations: 5.188 kB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4566, allocations: 1.438 kB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4566, allocations: 4.469 kB / 0.5841 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.4573, allocations: 0.6215 MB / 0.5847 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4574, allocations: 1.281 kB / 0.5848 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4575, allocations: 26.33 kB / 0.5848 GB, free: 28.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.4602, allocations: 0.8341 MB / 0.5856 GB, free: 28.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.4603, allocations: 14.31 kB / 0.5856 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00633/0.4666, allocations: 4.553 MB / 0.5901 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4667, allocations: 1 kB / 0.5901 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.4711, allocations: 1.573 MB / 0.5916 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.4713, allocations: 125 kB / 0.5917 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.4714, allocations: 19.11 kB / 0.5917 GB, free: 24.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.4719, allocations: 60.88 kB / 0.5918 GB, free: 24.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.4722, allocations: 105.4 kB / 0.5919 GB, free: 24.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.4722, allocations: 12.39 kB / 0.5919 GB, free: 24.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.4725, allocations: 288 kB / 0.5922 GB, free: 24.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4725, allocations: 0 / 0.5922 GB, free: 24.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.4733, allocations: 187.8 kB / 0.5924 GB, free: 24.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 (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.00438/0.4777, allocations: 2.169 MB / 0.5945 GB, free: 23.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.4807, allocations: 1.382 MB / 0.5958 GB, free: 22.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4808, allocations: 1.812 kB / 0.5958 GB, free: 22.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.483, allocations: 1.059 MB / 0.5969 GB, free: 22.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.4835, allocations: 38.75 kB / 0.5969 GB, free: 22.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/0.4927, allocations: 4.412 MB / 0.6012 GB, free: 20.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4931, allocations: 0.8681 MB / 0.602 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.4933, allocations: 36.73 kB / 0.6021 GB, free: 19.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4935, allocations: 184.7 kB / 0.6023 GB, free: 19.24 MB / 430.1 MB Notification: Performance of SimCode: time 2.594e-06/0.4936, allocations: 0 / 0.6023 GB, free: 19.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.528, allocations: 12.48 MB / 0.6144 GB, free: 16.79 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.5282, allocations: 184.4 kB / 0.6146 GB, free: 16.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.392, allocations: 0 / 0.6146 GB, free: 16.55 MB / 430.1 MB (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) Environment - environmentSimulation: