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.000808/0.0008079, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.485/1.485, allocations: 223.2 MB / 239 MB, free: 5.449 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.0009606/0.0009606, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5029/0.5029, allocations: 78.56 MB / 419.9 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.000414, allocations: 15.98 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 69.36 MB / 0.5559 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.263/0.4072, allocations: 3.276 MB / 0.5591 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.409, allocations: 1.051 MB / 0.5601 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.4093, allocations: 11.62 kB / 0.5601 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.4096, allocations: 89.56 kB / 0.5602 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.4099, allocations: 156.1 kB / 0.5604 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.4108, allocations: 422.5 kB / 0.5608 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.4113, allocations: 0.5867 MB / 0.5613 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.4116, allocations: 123 kB / 0.5615 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.4118, allocations: 236 kB / 0.5617 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.4121, allocations: 276.3 kB / 0.5619 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.4122, allocations: 24.78 kB / 0.562 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.4124, allocations: 88.25 kB / 0.562 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.4125, allocations: 92.5 kB / 0.5621 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4126, allocations: 124.1 kB / 0.5623 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.413, allocations: 0.5206 MB / 0.5628 GB, free: 36.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4131, allocations: 1.828 kB / 0.5628 GB, free: 36.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4131, allocations: 1.156 kB / 0.5628 GB, free: 36.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4131, allocations: 0 / 0.5628 GB, free: 36.68 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.003021/0.4161, allocations: 1.159 MB / 0.5639 GB, free: 36.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4162, allocations: 9.531 kB / 0.5639 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.4164, allocations: 86.55 kB / 0.564 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.4181, allocations: 294.9 kB / 0.5643 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.4187, allocations: 411.5 kB / 0.5647 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4189, allocations: 194.9 kB / 0.5648 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.419, allocations: 42.12 kB / 0.5649 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/0.42, allocations: 0.5887 MB / 0.5655 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.42, allocations: 3.594 kB / 0.5655 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.526e-05/0.4201, allocations: 18.36 kB / 0.5655 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4201, allocations: 10.25 kB / 0.5655 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.421, allocations: 0.4951 MB / 0.566 GB, free: 35.57 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.002475/0.4235, allocations: 2.12 MB / 0.568 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009563/0.433, allocations: 2.812 MB / 0.5708 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.4337, allocations: 304.8 kB / 0.5711 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.4338, allocations: 8.281 kB / 0.5711 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.4345, allocations: 390.6 kB / 0.5715 GB, free: 34.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.435e-06/0.4345, allocations: 0 / 0.5715 GB, free: 34.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.00608/0.4406, allocations: 2.602 MB / 0.574 GB, free: 33.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4406, allocations: 83.2 kB / 0.5741 GB, free: 33.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.4411, allocations: 420.7 kB / 0.5745 GB, free: 33.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.4412, allocations: 33.45 kB / 0.5745 GB, free: 33.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.4414, allocations: 281 kB / 0.5748 GB, free: 33.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4415, allocations: 138.1 kB / 0.5749 GB, free: 33.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.4415, allocations: 3.75 kB / 0.5749 GB, free: 33.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.4416, allocations: 360 kB / 0.5753 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.4421, allocations: 290.6 kB / 0.5755 GB, free: 32.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.4427, allocations: 329.9 kB / 0.5759 GB, free: 32.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.4433, allocations: 292.3 kB / 0.5761 GB, free: 32.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4433, allocations: 4 kB / 0.5761 GB, free: 32.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003547/0.4468, allocations: 1.587 MB / 0.5777 GB, free: 32.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4469, allocations: 5.688 kB / 0.5777 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4469, allocations: 0.5 kB / 0.5777 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.4491, allocations: 0.8333 MB / 0.5785 GB, free: 32.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4493, allocations: 41.44 kB / 0.5785 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.4555, allocations: 4.467 MB / 0.5829 GB, free: 29.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.4561, allocations: 83.58 kB / 0.583 GB, free: 29.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.4561, allocations: 12.53 kB / 0.583 GB, free: 29.61 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.0002593/0.4564, allocations: 167.3 kB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.4565, allocations: 51.78 kB / 0.5832 GB, free: 29.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.4603, allocations: 1.567 MB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.4604, allocations: 4.25 kB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4604, allocations: 1.094 kB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.4604, allocations: 4.281 kB / 0.5848 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.4611, allocations: 0.6261 MB / 0.5854 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4611, allocations: 1.188 kB / 0.5854 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.4612, allocations: 33.02 kB / 0.5854 GB, free: 28.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.4636, allocations: 0.8284 MB / 0.5862 GB, free: 28.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.4636, allocations: 6.031 kB / 0.5862 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/0.4691, allocations: 4.436 MB / 0.5905 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4691, allocations: 1.188 kB / 0.5905 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.473, allocations: 1.562 MB / 0.5921 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4732, allocations: 133.1 kB / 0.5922 GB, free: 24.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.4733, allocations: 10.25 kB / 0.5922 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.4737, allocations: 60.86 kB / 0.5923 GB, free: 24.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.4739, allocations: 100.8 kB / 0.5924 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.474, allocations: 15.44 kB / 0.5924 GB, free: 24.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.4743, allocations: 286 kB / 0.5926 GB, free: 24.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4743, allocations: 1.25 kB / 0.5926 GB, free: 24.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007124/0.475, allocations: 182.9 kB / 0.5928 GB, free: 24.34 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.004069/0.4791, allocations: 2.095 MB / 0.5949 GB, free: 23.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.482, allocations: 1.384 MB / 0.5962 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.482, allocations: 0 / 0.5962 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.4841, allocations: 1.061 MB / 0.5973 GB, free: 22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4846, allocations: 44.72 kB / 0.5973 GB, free: 21.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.493, allocations: 4.116 MB / 0.6013 GB, free: 20.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4935, allocations: 0.8544 MB / 0.6022 GB, free: 19.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.4937, allocations: 36.22 kB / 0.6022 GB, free: 19.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.494, allocations: 184.7 kB / 0.6024 GB, free: 19.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.494, allocations: 0 / 0.6024 GB, free: 19.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.5295, allocations: 12.5 MB / 0.6146 GB, free: 16.81 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.5297, allocations: 198.7 kB / 0.6148 GB, free: 16.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.513, allocations: 0 / 0.6148 GB, free: 16.57 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: