Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 87.31 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07724/0.07724, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2995/0.2995, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.218e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 69.23 MB / 0.5818 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/0.912, allocations: 93.16 MB / 0.6728 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.9124, allocations: 75.08 kB / 0.6729 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.9398, allocations: 10.74 MB / 0.6834 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.9398, allocations: 4 kB / 0.6834 GB, free: 5.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.704e-05/0.9399, allocations: 9.031 kB / 0.6834 GB, free: 5.785 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.002503/0.9424, allocations: 1.001 MB / 0.6844 GB, free: 4.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.9425, allocations: 12.03 kB / 0.6844 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.9435, allocations: 201 kB / 0.6846 GB, free: 4.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.9444, allocations: 462.6 kB / 0.685 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.9446, allocations: 185.8 kB / 0.6852 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.9447, allocations: 24 kB / 0.6852 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006953/0.9454, allocations: 381.1 kB / 0.6856 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.9461, allocations: 442.3 kB / 0.686 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.9461, allocations: 0 / 0.686 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.9461, allocations: 0 / 0.686 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.9462, allocations: 11.94 kB / 0.686 GB, free: 3.414 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002917/0.9491, allocations: 2.076 MB / 0.688 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.9604, allocations: 2.663 MB / 0.6906 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.961, allocations: 206.6 kB / 0.6908 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/0.9611, allocations: 4 kB / 0.6908 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006461/0.9617, allocations: 297.1 kB / 0.6911 GB, free: 14.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/0.9617, allocations: 0 / 0.6911 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.004189/0.9659, allocations: 1.285 MB / 0.6924 GB, free: 13.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.966, allocations: 85.05 kB / 0.6925 GB, free: 13.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.9667, allocations: 338.9 kB / 0.6928 GB, free: 13.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.9668, allocations: 33.58 kB / 0.6928 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.9671, allocations: 271.1 kB / 0.6931 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.9673, allocations: 133 kB / 0.6932 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.9673, allocations: 3.938 kB / 0.6932 GB, free: 12.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.9676, allocations: 364 kB / 0.6936 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.9679, allocations: 190.3 kB / 0.6937 GB, free: 12.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.9682, allocations: 225.4 kB / 0.6939 GB, free: 12.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.9686, allocations: 193.3 kB / 0.6941 GB, free: 12.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9686, allocations: 0 / 0.6941 GB, free: 12.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00404/0.9727, allocations: 1.343 MB / 0.6954 GB, free: 11.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.9727, allocations: 8 kB / 0.6955 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.9728, allocations: 0 / 0.6955 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.9753, allocations: 0.6766 MB / 0.6961 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.9756, allocations: 39.92 kB / 0.6961 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.982, allocations: 3.919 MB / 0.7 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.9829, allocations: 75.64 kB / 0.7 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.9829, allocations: 15.11 kB / 0.7001 GB, free: 6.836 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerPara.vs.im:VARIABLE() "Imaginary part of complex number" type: Real breakerPara.vs.re:VARIABLE() "Real part of complex number" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breakerExt.vs.re:VARIABLE() "Real part of complex number" type: Real breakerExt.vs.im:VARIABLE() "Imaginary part of complex number" type: Real 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 () * 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.0003045/0.9833, allocations: 118.6 kB / 0.7002 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003865/0.9871, allocations: 1.271 MB / 0.7014 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.9873, allocations: 59.3 kB / 0.7015 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.9913, allocations: 1.319 MB / 0.7028 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.9913, allocations: 7.938 kB / 0.7028 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9913, allocations: 4 kB / 0.7028 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.9913, allocations: 0 / 0.7028 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.9923, allocations: 0.5518 MB / 0.7033 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.9923, allocations: 8 kB / 0.7033 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.9925, allocations: 24.23 kB / 0.7033 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/0.9948, allocations: 0.6847 MB / 0.704 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.9948, allocations: 4 kB / 0.704 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/1, allocations: 3.903 MB / 0.7078 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.001, allocations: 0 / 0.7078 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/1.004, allocations: 1.332 MB / 0.7091 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/1.005, allocations: 126.6 kB / 0.7092 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/1.005, allocations: 7.984 kB / 0.7093 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/1.005, allocations: 55.95 kB / 0.7093 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/1.006, allocations: 104.6 kB / 0.7094 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/1.006, allocations: 11.75 kB / 0.7094 GB, free: 14.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003862/1.006, allocations: 259.5 kB / 0.7097 GB, free: 14.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.006, allocations: 0 / 0.7097 GB, free: 14.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008819/1.007, allocations: 176.7 kB / 0.7098 GB, free: 14.12 MB / 458.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 () * 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.004543/1.012, allocations: 1.958 MB / 0.7117 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/1.015, allocations: 1.167 MB / 0.7129 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.015, allocations: 4 kB / 0.7129 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/1.017, allocations: 0.949 MB / 0.7138 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/1.018, allocations: 28.28 kB / 0.7138 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/1.02, allocations: 0.7113 MB / 0.7145 GB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/1.021, allocations: 0.8784 MB / 0.7154 GB, free: 8.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001559/1.021, allocations: 23.28 kB / 0.7154 GB, free: 8.836 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/1.021, allocations: 179.2 kB / 0.7156 GB, free: 8.801 MB / 458.7 MB Notification: Performance of SimCode: time 2.073e-06/1.021, allocations: 0 / 0.7156 GB, free: 8.801 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/1.06, allocations: 11.6 MB / 0.7269 GB, free: 13.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/1.06, allocations: 125.8 kB / 0.727 GB, free: 13.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.338, allocations: 0 / 0.727 GB, free: 13.05 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)