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.001746/0.001746, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.422/1.422, allocations: 222.9 MB / 239 MB, free: 4.73 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.001621/0.001621, allocations: 196.4 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5539/0.5539, allocations: 91.9 MB / 431.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 71.89 kB / 0.5015 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.389, allocations: 71.26 MB / 0.5711 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004818/0.3938, allocations: 3.882 MB / 0.5749 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3962, allocations: 1.111 MB / 0.576 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.3968, allocations: 9.375 kB / 0.576 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.3973, allocations: 98.67 kB / 0.5761 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.3978, allocations: 149.5 kB / 0.5762 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.399, allocations: 480.2 kB / 0.5767 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.3996, allocations: 0.6452 MB / 0.5773 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.3999, allocations: 153.1 kB / 0.5774 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.4002, allocations: 280.9 kB / 0.5777 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.4005, allocations: 306.7 kB / 0.578 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.4006, allocations: 46.66 kB / 0.578 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.4008, allocations: 110.3 kB / 0.5781 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.4009, allocations: 117.8 kB / 0.5783 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.4011, allocations: 289.8 kB / 0.5785 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.4018, allocations: 0.6974 MB / 0.5792 GB, free: 32.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4018, allocations: 0 / 0.5792 GB, free: 32.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4018, allocations: 4.375 kB / 0.5792 GB, free: 32.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.4018, allocations: 7.875 kB / 0.5792 GB, free: 32.29 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.00303/0.4049, allocations: 1.236 MB / 0.5804 GB, free: 31.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4049, allocations: 11.31 kB / 0.5804 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.405, allocations: 81.16 kB / 0.5805 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.4065, allocations: 293.1 kB / 0.5808 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.407, allocations: 443.8 kB / 0.5812 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.4072, allocations: 192.9 kB / 0.5814 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.4072, allocations: 38.25 kB / 0.5814 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.4082, allocations: 0.5587 MB / 0.582 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4082, allocations: 0 / 0.582 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.4082, allocations: 17.89 kB / 0.582 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4083, allocations: 13.75 kB / 0.582 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.4091, allocations: 481.8 kB / 0.5825 GB, free: 30.5 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.002283/0.4114, allocations: 2.096 MB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.4215, allocations: 2.048 MB / 0.5865 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.4221, allocations: 276.7 kB / 0.5868 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.4222, allocations: 4.5 kB / 0.5868 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/0.4229, allocations: 368.6 kB / 0.5871 GB, free: 28.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.423, allocations: 0 / 0.5871 GB, free: 28.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006364/0.4293, allocations: 2.208 MB / 0.5893 GB, free: 27.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4294, allocations: 81.33 kB / 0.5894 GB, free: 27.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.4299, allocations: 413.3 kB / 0.5898 GB, free: 27.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.4299, allocations: 35.14 kB / 0.5898 GB, free: 27.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4301, allocations: 285.1 kB / 0.5901 GB, free: 26.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4302, allocations: 128.3 kB / 0.5902 GB, free: 26.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4304, allocations: 79.67 kB / 0.5903 GB, free: 26.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.4305, allocations: 357.3 kB / 0.5906 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.431, allocations: 259.9 kB / 0.5909 GB, free: 26.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.4316, allocations: 304.2 kB / 0.5912 GB, free: 26.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.4326, allocations: 0.547 MB / 0.5917 GB, free: 26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4327, allocations: 1.438 kB / 0.5917 GB, free: 26 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003871/0.4365, allocations: 1.343 MB / 0.593 GB, free: 25.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4366, allocations: 5.625 kB / 0.593 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4366, allocations: 1.062 kB / 0.593 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/0.439, allocations: 0.7112 MB / 0.5937 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4393, allocations: 41.61 kB / 0.5937 GB, free: 25.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.4458, allocations: 4.676 MB / 0.5983 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.4463, allocations: 65.05 kB / 0.5984 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.4464, allocations: 9.875 kB / 0.5984 GB, free: 21.77 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.0002669/0.4467, allocations: 172.8 kB / 0.5985 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.4468, allocations: 47.44 kB / 0.5986 GB, free: 21.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.4509, allocations: 1.316 MB / 0.5999 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.4509, allocations: 5.531 kB / 0.5999 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4509, allocations: 2.094 kB / 0.5999 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4509, allocations: 2.203 kB / 0.5999 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.4517, allocations: 0.6337 MB / 0.6005 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4518, allocations: 1.859 kB / 0.6005 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4519, allocations: 27.3 kB / 0.6005 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/0.4545, allocations: 0.7115 MB / 0.6012 GB, free: 20.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.4545, allocations: 6.812 kB / 0.6012 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/0.4608, allocations: 4.635 MB / 0.6058 GB, free: 17.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4608, allocations: 1.062 kB / 0.6058 GB, free: 17.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/0.4649, allocations: 1.317 MB / 0.607 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4651, allocations: 133.8 kB / 0.6072 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4652, allocations: 7 kB / 0.6072 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.4657, allocations: 49.44 kB / 0.6072 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.4661, allocations: 111.8 kB / 0.6073 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4661, allocations: 13.2 kB / 0.6073 GB, free: 16.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.4665, allocations: 290.3 kB / 0.6076 GB, free: 16.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4665, allocations: 0 / 0.6076 GB, free: 16.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007434/0.4673, allocations: 184.8 kB / 0.6078 GB, free: 16.24 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.004319/0.4716, allocations: 1.853 MB / 0.6096 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.4748, allocations: 1.302 MB / 0.6109 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4748, allocations: 0 / 0.6109 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.477, allocations: 0.9883 MB / 0.6118 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.4775, allocations: 53.3 kB / 0.6119 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.4913, allocations: 6.191 MB / 0.6179 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.4918, allocations: 0.8591 MB / 0.6188 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.4919, allocations: 37.75 kB / 0.6188 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.4922, allocations: 188.9 kB / 0.619 GB, free: 9.934 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4922, allocations: 1.25 kB / 0.619 GB, free: 9.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.5274, allocations: 13.5 MB / 0.6322 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.5276, allocations: 213.2 kB / 0.6324 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.737, allocations: 0 / 0.6324 GB, free: 14.64 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)