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.009217/0.009217, allocations: 168 kB / 15.13 MB, free: 6.02 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.566/1.566, allocations: 223.3 MB / 239.1 MB, free: 1.742 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.0007753/0.0007752, allocations: 96.17 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5542/0.5542, allocations: 78.62 MB / 420 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004071, allocations: 11.98 kB / 500 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4726, allocations: 69.34 MB / 0.556 GB, free: 38.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00347/0.4761, allocations: 3.283 MB / 0.5592 GB, free: 38.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.4784, allocations: 1.052 MB / 0.5602 GB, free: 38.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.4787, allocations: 11.72 kB / 0.5602 GB, free: 38.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.479, allocations: 93.61 kB / 0.5603 GB, free: 38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.4794, allocations: 148.1 kB / 0.5604 GB, free: 37.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4805, allocations: 427.1 kB / 0.5609 GB, free: 37.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006429/0.4811, allocations: 0.5875 MB / 0.5614 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.4814, allocations: 130.5 kB / 0.5616 GB, free: 37.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.4817, allocations: 238.5 kB / 0.5618 GB, free: 37.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.4821, allocations: 278.6 kB / 0.562 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.4822, allocations: 25.5 kB / 0.5621 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.4824, allocations: 82.52 kB / 0.5621 GB, free: 37.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.4826, allocations: 96.36 kB / 0.5622 GB, free: 37.45 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.4827, allocations: 119.8 kB / 0.5624 GB, free: 37.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.4834, allocations: 0.5163 MB / 0.5629 GB, free: 37.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4835, allocations: 0.6562 kB / 0.5629 GB, free: 37.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4835, allocations: 1.594 kB / 0.5629 GB, free: 37.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.4835, allocations: 0.8125 kB / 0.5629 GB, free: 37.3 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.003279/0.4868, allocations: 1.16 MB / 0.564 GB, free: 36.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4868, allocations: 13.94 kB / 0.564 GB, free: 36.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.487, allocations: 87.17 kB / 0.5641 GB, free: 36.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.4887, allocations: 291.9 kB / 0.5644 GB, free: 36.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.4892, allocations: 416.9 kB / 0.5648 GB, free: 36.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.4894, allocations: 190 kB / 0.5649 GB, free: 36.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.4895, allocations: 41.97 kB / 0.565 GB, free: 36.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.4907, allocations: 0.585 MB / 0.5656 GB, free: 35.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4908, allocations: 0 / 0.5656 GB, free: 35.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.4908, allocations: 16.12 kB / 0.5656 GB, free: 35.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.4908, allocations: 10.69 kB / 0.5656 GB, free: 35.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4919, allocations: 0.5045 MB / 0.5661 GB, free: 35.61 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.002714/0.4946, allocations: 2.122 MB / 0.5682 GB, free: 34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.5055, allocations: 2.812 MB / 0.5709 GB, free: 33.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.5062, allocations: 315.3 kB / 0.5712 GB, free: 33.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.5063, allocations: 2.562 kB / 0.5712 GB, free: 33.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007426/0.507, allocations: 394.9 kB / 0.5716 GB, free: 33.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.507, allocations: 7 kB / 0.5716 GB, free: 33.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.007173/0.5142, allocations: 2.59 MB / 0.5741 GB, free: 32.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.5143, allocations: 87.53 kB / 0.5742 GB, free: 32.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.5148, allocations: 414.1 kB / 0.5746 GB, free: 32.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.5149, allocations: 32.42 kB / 0.5746 GB, free: 32.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.5151, allocations: 277.1 kB / 0.5749 GB, free: 31.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5152, allocations: 135.2 kB / 0.575 GB, free: 31.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5153, allocations: 10.72 kB / 0.575 GB, free: 31.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5154, allocations: 355.1 kB / 0.5754 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.5159, allocations: 292 kB / 0.5756 GB, free: 31.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.5165, allocations: 329.5 kB / 0.576 GB, free: 31.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.5171, allocations: 296.4 kB / 0.5762 GB, free: 31.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5171, allocations: 0 / 0.5762 GB, free: 31.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004107/0.5212, allocations: 1.588 MB / 0.5778 GB, free: 30.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5213, allocations: 8.984 kB / 0.5778 GB, free: 30.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5213, allocations: 3.938 kB / 0.5778 GB, free: 30.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.5239, allocations: 0.8327 MB / 0.5786 GB, free: 30.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.5241, allocations: 52.86 kB / 0.5787 GB, free: 30.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.5298, allocations: 4.466 MB / 0.583 GB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.5305, allocations: 83.23 kB / 0.5831 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5305, allocations: 12.72 kB / 0.5831 GB, free: 27.09 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.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.0002874/0.5308, allocations: 166 kB / 0.5833 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.5309, allocations: 51.66 kB / 0.5833 GB, free: 26.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/0.535, allocations: 1.564 MB / 0.5849 GB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.535, allocations: 5.688 kB / 0.5849 GB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.535, allocations: 0 / 0.5849 GB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5351, allocations: 3.281 kB / 0.5849 GB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.5357, allocations: 0.6243 MB / 0.5855 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5357, allocations: 0 / 0.5855 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.536, allocations: 33.69 kB / 0.5855 GB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.5391, allocations: 0.8354 MB / 0.5863 GB, free: 25.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.5391, allocations: 6.781 kB / 0.5863 GB, free: 25.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.5455, allocations: 4.438 MB / 0.5907 GB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5455, allocations: 0 / 0.5907 GB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.5501, allocations: 1.56 MB / 0.5922 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.5503, allocations: 129.6 kB / 0.5923 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5505, allocations: 14.84 kB / 0.5923 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.551, allocations: 56.36 kB / 0.5924 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.5513, allocations: 101.7 kB / 0.5925 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.5513, allocations: 14.59 kB / 0.5925 GB, free: 21.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004304/0.5517, allocations: 284.7 kB / 0.5928 GB, free: 21.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5518, allocations: 0 / 0.5928 GB, free: 21.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008032/0.5526, allocations: 187.6 kB / 0.5929 GB, free: 21.79 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 (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.004635/0.5572, allocations: 2.084 MB / 0.595 GB, free: 20.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003355/0.5606, allocations: 1.385 MB / 0.5963 GB, free: 20.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5606, allocations: 0 / 0.5963 GB, free: 20.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.563, allocations: 1.061 MB / 0.5974 GB, free: 19.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.5637, allocations: 48.97 kB / 0.5974 GB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5749, allocations: 4.113 MB / 0.6014 GB, free: 17.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.5756, allocations: 0.8609 MB / 0.6023 GB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.5758, allocations: 31.77 kB / 0.6023 GB, free: 16.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.5761, allocations: 183.7 kB / 0.6025 GB, free: 16.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5761, allocations: 1.031 kB / 0.6025 GB, free: 16.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.6123, allocations: 12.52 MB / 0.6147 GB, free: 13.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.6125, allocations: 209 kB / 0.6149 GB, free: 12.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.897, allocations: 0 / 0.6149 GB, free: 12.8 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)