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.0008532/0.000853, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.18/1.18, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.000874/0.0008741, allocations: 180.4 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4123/0.4123, allocations: 78.55 MB / 420.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 11.98 kB / 0.4887 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 69.36 MB / 0.5565 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.1883/0.2906, allocations: 3.456 MB / 0.5599 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2921, allocations: 1.101 MB / 0.5609 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2923, allocations: 12.91 kB / 0.5609 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2926, allocations: 105.6 kB / 0.561 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.2929, allocations: 141.2 kB / 0.5612 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008032/0.2937, allocations: 488.2 kB / 0.5616 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.2941, allocations: 0.6135 MB / 0.5622 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.2943, allocations: 129.8 kB / 0.5624 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2945, allocations: 246.6 kB / 0.5626 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.2948, allocations: 288.2 kB / 0.5629 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.2948, allocations: 24.16 kB / 0.5629 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.295, allocations: 93.02 kB / 0.563 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.2951, allocations: 96.89 kB / 0.5631 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2952, allocations: 286.1 kB / 0.5634 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2957, allocations: 0.6695 MB / 0.564 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2957, allocations: 0.7812 kB / 0.564 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2957, allocations: 1.031 kB / 0.564 GB, free: 36.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2957, allocations: 3.531 kB / 0.564 GB, free: 36.09 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.002567/0.2983, allocations: 1.161 MB / 0.5651 GB, free: 35.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2984, allocations: 8.969 kB / 0.5652 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.802e-05/0.2985, allocations: 80.42 kB / 0.5652 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.2999, allocations: 293.9 kB / 0.5655 GB, free: 35.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3003, allocations: 431.9 kB / 0.5659 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3005, allocations: 201.9 kB / 0.5661 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.3005, allocations: 39.62 kB / 0.5662 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.3014, allocations: 0.5827 MB / 0.5667 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3015, allocations: 0 / 0.5667 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.3015, allocations: 19.72 kB / 0.5667 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3015, allocations: 9.344 kB / 0.5668 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.3024, allocations: 0.5024 MB / 0.5672 GB, free: 34.93 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.002099/0.3045, allocations: 2.128 MB / 0.5693 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.3149, allocations: 2.808 MB / 0.5721 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.3154, allocations: 307.2 kB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3154, allocations: 3.906 kB / 0.5724 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.3161, allocations: 397.9 kB / 0.5727 GB, free: 33.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.3161, allocations: 0 / 0.5727 GB, free: 33.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006284/0.3224, allocations: 2.612 MB / 0.5753 GB, free: 32.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3224, allocations: 80.05 kB / 0.5754 GB, free: 32.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.3228, allocations: 417.4 kB / 0.5758 GB, free: 32.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.3228, allocations: 33.36 kB / 0.5758 GB, free: 32.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3229, allocations: 285.5 kB / 0.5761 GB, free: 32.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.323, allocations: 138.9 kB / 0.5762 GB, free: 32.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.3231, allocations: 39.27 kB / 0.5762 GB, free: 32.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.3231, allocations: 358 kB / 0.5766 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.3237, allocations: 289.1 kB / 0.5769 GB, free: 32.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.3242, allocations: 335.2 kB / 0.5772 GB, free: 32.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009846/0.3252, allocations: 0.5918 MB / 0.5778 GB, free: 31.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3252, allocations: 4.594 kB / 0.5778 GB, free: 31.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003718/0.3289, allocations: 1.575 MB / 0.5793 GB, free: 31.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3289, allocations: 9.125 kB / 0.5793 GB, free: 31.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3289, allocations: 2.25 kB / 0.5793 GB, free: 31.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.3314, allocations: 0.8309 MB / 0.5801 GB, free: 31.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3316, allocations: 44.31 kB / 0.5802 GB, free: 31.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.3372, allocations: 4.474 MB / 0.5845 GB, free: 29.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.3377, allocations: 82.41 kB / 0.5846 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3377, allocations: 16.56 kB / 0.5846 GB, free: 29.08 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.0001821/0.3379, allocations: 176.8 kB / 0.5848 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.338, allocations: 47.97 kB / 0.5848 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.342, allocations: 1.567 MB / 0.5864 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.342, allocations: 4.25 kB / 0.5864 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.342, allocations: 5.156 kB / 0.5864 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3421, allocations: 0 / 0.5864 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.3425, allocations: 0.6339 MB / 0.587 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3426, allocations: 3.938 kB / 0.587 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3427, allocations: 26.19 kB / 0.587 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.3451, allocations: 0.8323 MB / 0.5878 GB, free: 28.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3452, allocations: 15.69 kB / 0.5879 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.3504, allocations: 4.426 MB / 0.5922 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3504, allocations: 8.938 kB / 0.5922 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.3542, allocations: 1.559 MB / 0.5937 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3543, allocations: 133 kB / 0.5938 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.3544, allocations: 10.94 kB / 0.5938 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3548, allocations: 56.78 kB / 0.5939 GB, free: 24.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.355, allocations: 104.9 kB / 0.594 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.3551, allocations: 12.78 kB / 0.594 GB, free: 24.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.3553, allocations: 290.8 kB / 0.5943 GB, free: 24.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3553, allocations: 0 / 0.5943 GB, free: 24.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.3559, allocations: 187.4 kB / 0.5945 GB, free: 24.07 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.00394/0.3598, allocations: 2.1 MB / 0.5965 GB, free: 23.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.3626, allocations: 1.379 MB / 0.5979 GB, free: 22.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3626, allocations: 0 / 0.5979 GB, free: 22.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.3647, allocations: 1.061 MB / 0.5989 GB, free: 21.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.365, allocations: 49.8 kB / 0.5989 GB, free: 21.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.3768, allocations: 6.708 MB / 0.6055 GB, free: 18.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3772, allocations: 0.8594 MB / 0.6063 GB, free: 17.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.3773, allocations: 37.53 kB / 0.6064 GB, free: 17.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3775, allocations: 185 kB / 0.6065 GB, free: 17.69 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3775, allocations: 0 / 0.6065 GB, free: 17.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.4022, allocations: 12.67 MB / 0.6189 GB, free: 13.01 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/0.4024, allocations: 202.8 kB / 0.6191 GB, free: 12.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.182, allocations: 64 / 0.6191 GB, free: 12.76 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/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)