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.007394/0.007394, allocations: 169.4 kB / 15.12 MB, free: 5.559 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.4/1.4, allocations: 223.2 MB / 239 MB, free: 20 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001029, allocations: 97.84 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5169/0.5169, allocations: 78.58 MB / 419.9 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003826, allocations: 8 kB / 499.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 69.35 MB / 0.5559 GB, free: 1.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003368/0.1375, allocations: 3.144 MB / 0.5589 GB, free: 14.56 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1394, allocations: 1.08 MB / 0.56 GB, free: 13.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.1396, allocations: 11.94 kB / 0.56 GB, free: 13.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1398, allocations: 87.36 kB / 0.5601 GB, free: 13.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.1402, allocations: 179.4 kB / 0.5602 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.1412, allocations: 422 kB / 0.5607 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1416, allocations: 435 kB / 0.5611 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1418, allocations: 123.7 kB / 0.5612 GB, free: 12.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1421, allocations: 235 kB / 0.5614 GB, free: 12.01 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.1424, allocations: 270.8 kB / 0.5617 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.1424, allocations: 28 kB / 0.5617 GB, free: 11.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1426, allocations: 67.97 kB / 0.5618 GB, free: 11.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1427, allocations: 99.5 kB / 0.5619 GB, free: 11.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1428, allocations: 117.4 kB / 0.562 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1433, allocations: 0.4989 MB / 0.5625 GB, free: 10.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1433, allocations: 0 / 0.5625 GB, free: 10.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1433, allocations: 0 / 0.5625 GB, free: 10.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1433, allocations: 0 / 0.5625 GB, free: 10.93 MB / 442.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.003117/0.1464, allocations: 1.155 MB / 0.5636 GB, free: 9.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1465, allocations: 8.031 kB / 0.5636 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.1466, allocations: 86.47 kB / 0.5637 GB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.1483, allocations: 291 kB / 0.5639 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.1489, allocations: 416.8 kB / 0.5643 GB, free: 8.891 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.1491, allocations: 193.5 kB / 0.5645 GB, free: 8.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.1492, allocations: 40 kB / 0.5646 GB, free: 8.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1503, allocations: 0.5875 MB / 0.5651 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1504, allocations: 0 / 0.5651 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1504, allocations: 23.98 kB / 0.5652 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1504, allocations: 12 kB / 0.5652 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.1514, allocations: 0.4915 MB / 0.5657 GB, free: 7.504 MB / 442.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.003194/0.1546, allocations: 2.117 MB / 0.5677 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.1664, allocations: 2.811 MB / 0.5705 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.1665, allocations: 7.938 kB / 0.5705 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008133/0.1673, allocations: 391.7 kB / 0.5708 GB, free: 1.938 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 2.936e-06/0.1673, allocations: 0 / 0.5708 GB, free: 1.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.2976/0.465, allocations: 2.585 MB / 0.5734 GB, free: 45.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4651, allocations: 86.06 kB / 0.5735 GB, free: 45.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.4656, allocations: 415.9 kB / 0.5739 GB, free: 45.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.4657, allocations: 30.92 kB / 0.5739 GB, free: 45.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4659, allocations: 284.1 kB / 0.5742 GB, free: 45.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.466, allocations: 132.1 kB / 0.5743 GB, free: 45.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.4661, allocations: 13.91 kB / 0.5743 GB, free: 45.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.4662, allocations: 356.7 kB / 0.5746 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.4668, allocations: 285.7 kB / 0.5749 GB, free: 45.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.4674, allocations: 335.3 kB / 0.5752 GB, free: 45.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.468, allocations: 295.5 kB / 0.5755 GB, free: 45.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.468, allocations: 2.422 kB / 0.5755 GB, free: 45.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004213/0.4722, allocations: 1.584 MB / 0.5771 GB, free: 44.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4722, allocations: 9.031 kB / 0.5771 GB, free: 44.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4723, allocations: 1.656 kB / 0.5771 GB, free: 44.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.4749, allocations: 0.8294 MB / 0.5779 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4752, allocations: 43.97 kB / 0.5779 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/0.4818, allocations: 4.582 MB / 0.5824 GB, free: 42.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.4824, allocations: 81.75 kB / 0.5825 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.4824, allocations: 13.97 kB / 0.5825 GB, free: 42.3 MB / 442.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.0002663/0.4827, allocations: 171.5 kB / 0.5826 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.4828, allocations: 57.52 kB / 0.5827 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.487, allocations: 1.564 MB / 0.5842 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4871, allocations: 4.875 kB / 0.5842 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4871, allocations: 2.734 kB / 0.5842 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4871, allocations: 2.016 kB / 0.5842 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.4879, allocations: 0.6284 MB / 0.5849 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4879, allocations: 0 / 0.5849 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.4881, allocations: 30.53 kB / 0.5849 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.4909, allocations: 0.8327 MB / 0.5857 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.4909, allocations: 7.938 kB / 0.5857 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006372/0.4973, allocations: 4.552 MB / 0.5901 GB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4973, allocations: 1.375 kB / 0.5901 GB, free: 39.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.5018, allocations: 1.571 MB / 0.5917 GB, free: 38.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.502, allocations: 138.1 kB / 0.5918 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.5021, allocations: 8.469 kB / 0.5918 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.5025, allocations: 66.95 kB / 0.5919 GB, free: 38.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.5028, allocations: 100 kB / 0.592 GB, free: 38.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5029, allocations: 10.81 kB / 0.592 GB, free: 38.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.5032, allocations: 287.5 kB / 0.5923 GB, free: 38.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5032, allocations: 0 / 0.5923 GB, free: 38.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006507/0.5039, allocations: 181.8 kB / 0.5924 GB, free: 38.64 MB / 442.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.004837/0.5087, allocations: 2.172 MB / 0.5946 GB, free: 37.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.5119, allocations: 1.391 MB / 0.5959 GB, free: 37.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.512, allocations: 0 / 0.5959 GB, free: 37.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.5142, allocations: 1.056 MB / 0.5969 GB, free: 36.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.5147, allocations: 37.16 kB / 0.597 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.5232, allocations: 4.407 MB / 0.6013 GB, free: 34.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5236, allocations: 0.8732 MB / 0.6021 GB, free: 33.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.5238, allocations: 38.17 kB / 0.6022 GB, free: 33.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.524, allocations: 185.6 kB / 0.6024 GB, free: 33.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.113e-06/0.524, allocations: 0 / 0.6024 GB, free: 33.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.5512, allocations: 12.48 MB / 0.6145 GB, free: 32.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.5514, allocations: 211.3 kB / 0.6147 GB, free: 32.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.893, allocations: 0 / 0.6147 GB, free: 32.7 MB / 442.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)