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/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica_Synchronous 0.93.0/package.mo): time 0.07643/0.07643, allocations: 12.2 MB / 27.16 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.00088, allocations: 104.3 kB / 30.66 MB, free: 6.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 239.5 MB, free: 10.69 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.001086/0.001086, allocations: 181.2 kB / 290.6 MB, free: 8.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4076/0.4076, allocations: 78.5 MB / 420.1 MB, free: 6.598 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009175/0.0009179, allocations: 28.53 kB / 0.4895 GB, free: 38.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1246, allocations: 69.24 MB / 0.5571 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00328/0.1279, allocations: 3.139 MB / 0.5602 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1303, allocations: 1.12 MB / 0.5613 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.1306, allocations: 11.94 kB / 0.5613 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1309, allocations: 91.36 kB / 0.5614 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1312, allocations: 179.4 kB / 0.5615 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.1322, allocations: 430.5 kB / 0.5619 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.1327, allocations: 431 kB / 0.5623 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.1329, allocations: 123.8 kB / 0.5625 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.1331, allocations: 243 kB / 0.5627 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1334, allocations: 266.7 kB / 0.563 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.1335, allocations: 28 kB / 0.563 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1336, allocations: 67.97 kB / 0.563 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.1337, allocations: 91.59 kB / 0.5631 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.1338, allocations: 121.3 kB / 0.5632 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.1343, allocations: 0.5067 MB / 0.5637 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1343, allocations: 0 / 0.5637 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1343, allocations: 0 / 0.5637 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1343, allocations: 0 / 0.5637 GB, free: 1.945 MB / 382.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.002937/0.1372, allocations: 1.147 MB / 0.5649 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1373, allocations: 15.98 kB / 0.5649 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.1374, allocations: 86.52 kB / 0.565 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.139, allocations: 286.9 kB / 0.5652 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.1397, allocations: 432.8 kB / 0.5656 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.1399, allocations: 193.4 kB / 0.5658 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.14, allocations: 40 kB / 0.5659 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.141, allocations: 0.5798 MB / 0.5664 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1411, allocations: 0 / 0.5664 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.1411, allocations: 20 kB / 0.5665 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1411, allocations: 15.94 kB / 0.5665 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1422, allocations: 0.5031 MB / 0.567 GB, free: 14.5 MB / 398.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.003123/0.1453, allocations: 2.109 MB / 0.569 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.1571, allocations: 2.807 MB / 0.5718 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.1572, allocations: 8 kB / 0.5718 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/0.158, allocations: 388.4 kB / 0.5721 GB, free: 8.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.158, allocations: 4 kB / 0.5721 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.007226/0.1653, allocations: 2.594 MB / 0.5747 GB, free: 6.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.1654, allocations: 85.11 kB / 0.5748 GB, free: 6.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.1659, allocations: 413.9 kB / 0.5752 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.1659, allocations: 33.7 kB / 0.5752 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.1662, allocations: 288 kB / 0.5755 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1663, allocations: 134.1 kB / 0.5756 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1664, allocations: 8 kB / 0.5756 GB, free: 5.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1665, allocations: 358.7 kB / 0.5759 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.1671, allocations: 288.7 kB / 0.5762 GB, free: 4.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.1678, allocations: 330.8 kB / 0.5765 GB, free: 4.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.1684, allocations: 291.8 kB / 0.5768 GB, free: 4.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1685, allocations: 0 / 0.5768 GB, free: 4.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004477/0.1729, allocations: 1.59 MB / 0.5784 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.173, allocations: 4 kB / 0.5784 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.173, allocations: 4 kB / 0.5784 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.1757, allocations: 0.8307 MB / 0.5792 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.176, allocations: 43.92 kB / 0.5792 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007641/0.1837, allocations: 4.583 MB / 0.5837 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.1844, allocations: 87.59 kB / 0.5838 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.1844, allocations: 12 kB / 0.5838 GB, free: 12.58 MB / 414.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.000261/0.1847, allocations: 173.4 kB / 0.584 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.1848, allocations: 51.44 kB / 0.584 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.1892, allocations: 1.562 MB / 0.5855 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1892, allocations: 8 kB / 0.5855 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1893, allocations: 0 / 0.5855 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1893, allocations: 3.953 kB / 0.5855 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.1901, allocations: 0.6257 MB / 0.5862 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.1901, allocations: 7.984 kB / 0.5862 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1903, allocations: 31.94 kB / 0.5862 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002613/0.1929, allocations: 0.8277 MB / 0.587 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.193, allocations: 8 kB / 0.587 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006761/0.1997, allocations: 4.549 MB / 0.5914 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1998, allocations: 3.953 kB / 0.5915 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/0.2041, allocations: 1.577 MB / 0.593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2043, allocations: 132.3 kB / 0.5931 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.2043, allocations: 4 kB / 0.5931 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.2048, allocations: 59.95 kB / 0.5932 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.2051, allocations: 103.8 kB / 0.5933 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.2051, allocations: 15.95 kB / 0.5933 GB, free: 2.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.2054, allocations: 291.1 kB / 0.5936 GB, free: 2.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2054, allocations: 0 / 0.5936 GB, free: 2.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.206, allocations: 179.7 kB / 0.5937 GB, free: 1.977 MB / 414.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.004434/0.2105, allocations: 2.169 MB / 0.5959 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.2136, allocations: 1.387 MB / 0.5972 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2136, allocations: 0 / 0.5972 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.216, allocations: 1.054 MB / 0.5982 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.2164, allocations: 37.92 kB / 0.5983 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.2247, allocations: 4.412 MB / 0.6026 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.2252, allocations: 0.8704 MB / 0.6034 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.2253, allocations: 31.28 kB / 0.6035 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.2256, allocations: 187.4 kB / 0.6036 GB, free: 7.547 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2256, allocations: 3.938 kB / 0.6037 GB, free: 7.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2536, allocations: 12.49 MB / 0.6158 GB, free: 11.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.2539, allocations: 198.5 kB / 0.616 GB, free: 10.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.154, allocations: 64 / 0.616 GB, free: 10.93 MB / 446.1 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) Environment - environmentSimulation: