Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_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.001249/0.001249, allocations: 180.6 kB / 15.45 MB, free: 6.227 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.412/1.412, allocations: 223.3 MB / 239.5 MB, free: 1.613 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.0008483/0.0008481, allocations: 94.56 kB / 290.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4895/0.4895, allocations: 78.61 MB / 420.4 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004685, allocations: 12 kB / 0.4889 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4127, allocations: 69.34 MB / 0.5566 GB, free: 39.12 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003623/0.4164, allocations: 3.47 MB / 0.56 GB, free: 38.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.4184, allocations: 1.103 MB / 0.561 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.4187, allocations: 8.688 kB / 0.5611 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.4191, allocations: 100.8 kB / 0.5612 GB, free: 37.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.4194, allocations: 140.5 kB / 0.5613 GB, free: 37.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.4205, allocations: 485.5 kB / 0.5618 GB, free: 37.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.4212, allocations: 0.6193 MB / 0.5624 GB, free: 37.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.4215, allocations: 136.4 kB / 0.5625 GB, free: 37.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.4217, allocations: 245.5 kB / 0.5627 GB, free: 37.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.4222, allocations: 293.6 kB / 0.563 GB, free: 37.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.4222, allocations: 25.22 kB / 0.563 GB, free: 37.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.4225, allocations: 79.19 kB / 0.5631 GB, free: 37.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4226, allocations: 97.17 kB / 0.5632 GB, free: 37.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.4228, allocations: 290.5 kB / 0.5635 GB, free: 36.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.4237, allocations: 0.6712 MB / 0.5641 GB, free: 36.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4237, allocations: 0.6562 kB / 0.5641 GB, free: 36.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4237, allocations: 0 / 0.5641 GB, free: 36.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.4238, allocations: 2.406 kB / 0.5641 GB, free: 36.76 MB / 426.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.003434/0.4272, allocations: 1.151 MB / 0.5653 GB, free: 36.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4273, allocations: 9.562 kB / 0.5653 GB, free: 36.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.4275, allocations: 84.12 kB / 0.5653 GB, free: 36.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.4291, allocations: 299 kB / 0.5656 GB, free: 36.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.4297, allocations: 432.9 kB / 0.566 GB, free: 35.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4299, allocations: 195.4 kB / 0.5662 GB, free: 35.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.4299, allocations: 40.72 kB / 0.5663 GB, free: 35.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4312, allocations: 0.5898 MB / 0.5668 GB, free: 35.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.4312, allocations: 1.438 kB / 0.5668 GB, free: 35.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.4313, allocations: 19.53 kB / 0.5669 GB, free: 35.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4313, allocations: 10.84 kB / 0.5669 GB, free: 35.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.4323, allocations: 0.5058 MB / 0.5674 GB, free: 35.43 MB / 426.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.002517/0.4349, allocations: 2.124 MB / 0.5694 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.4447, allocations: 2.803 MB / 0.5722 GB, free: 33.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.4454, allocations: 310.3 kB / 0.5725 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.4455, allocations: 6.844 kB / 0.5725 GB, free: 33.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000692/0.4462, allocations: 397.4 kB / 0.5729 GB, free: 33.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.766e-06/0.4462, allocations: 0 / 0.5729 GB, free: 33.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.00664/0.4528, allocations: 2.611 MB / 0.5754 GB, free: 32.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4529, allocations: 86.83 kB / 0.5755 GB, free: 32.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.4534, allocations: 409.1 kB / 0.5759 GB, free: 31.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.4534, allocations: 36.58 kB / 0.5759 GB, free: 31.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4536, allocations: 280.9 kB / 0.5762 GB, free: 31.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4537, allocations: 137 kB / 0.5763 GB, free: 31.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.4538, allocations: 36.09 kB / 0.5763 GB, free: 31.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.4539, allocations: 358.5 kB / 0.5767 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.4544, allocations: 291.6 kB / 0.577 GB, free: 31.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.4549, allocations: 329.9 kB / 0.5773 GB, free: 31.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.456, allocations: 0.6055 MB / 0.5779 GB, free: 30.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.456, allocations: 0 / 0.5779 GB, free: 30.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003716/0.4597, allocations: 1.595 MB / 0.5794 GB, free: 30.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4597, allocations: 5.844 kB / 0.5794 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4598, allocations: 2.969 kB / 0.5794 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.4621, allocations: 0.8321 MB / 0.5803 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.4623, allocations: 42.09 kB / 0.5803 GB, free: 30.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/0.4681, allocations: 4.472 MB / 0.5847 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.4687, allocations: 86.58 kB / 0.5847 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.4688, allocations: 10.34 kB / 0.5848 GB, free: 26.77 MB / 426.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.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.000272/0.4691, allocations: 181.6 kB / 0.5849 GB, free: 26.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.4691, allocations: 46.75 kB / 0.585 GB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.473, allocations: 1.57 MB / 0.5865 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.473, allocations: 6.469 kB / 0.5865 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4731, allocations: 2.781 kB / 0.5865 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4731, allocations: 3.328 kB / 0.5865 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.4737, allocations: 0.6217 MB / 0.5871 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4738, allocations: 6.75 kB / 0.5871 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4739, allocations: 28.52 kB / 0.5872 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/0.4763, allocations: 0.8304 MB / 0.588 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.4764, allocations: 7.188 kB / 0.588 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/0.4817, allocations: 4.427 MB / 0.5923 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4818, allocations: 8.453 kB / 0.5923 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.4859, allocations: 1.565 MB / 0.5938 GB, free: 21.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.4861, allocations: 129.5 kB / 0.594 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.4861, allocations: 6.75 kB / 0.594 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.4865, allocations: 68.98 kB / 0.594 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.4868, allocations: 106.2 kB / 0.5941 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.4869, allocations: 6.875 kB / 0.5941 GB, free: 21.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.4872, allocations: 291.3 kB / 0.5944 GB, free: 21.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4872, allocations: 4 kB / 0.5944 GB, free: 21.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006641/0.4878, allocations: 191.2 kB / 0.5946 GB, free: 21.44 MB / 426.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 (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.004187/0.492, allocations: 2.094 MB / 0.5966 GB, free: 20.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.4951, allocations: 1.381 MB / 0.598 GB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4951, allocations: 0 / 0.598 GB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.4973, allocations: 1.067 MB / 0.599 GB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.4978, allocations: 46.2 kB / 0.5991 GB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.511, allocations: 6.696 MB / 0.6056 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5114, allocations: 0.8613 MB / 0.6065 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.5116, allocations: 34.06 kB / 0.6065 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.5118, allocations: 186.7 kB / 0.6067 GB, free: 15.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5118, allocations: 4 kB / 0.6067 GB, free: 15.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.5437, allocations: 12.68 MB / 0.6191 GB, free: 9.062 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.5439, allocations: 213.5 kB / 0.6193 GB, free: 8.809 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.925, allocations: 0 / 0.6193 GB, free: 8.809 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)