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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 181.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 114 kB / 269.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07188/0.07188, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.355/0.355, allocations: 78.52 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 110.7 kB / 0.5254 GB, free: 19.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1145, allocations: 68.14 MB / 0.592 GB, free: 15.62 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004407/0.119, allocations: 3.852 MB / 0.5957 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1208, allocations: 1.166 MB / 0.5969 GB, free: 10.56 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.121, allocations: 4 kB / 0.5969 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1213, allocations: 111.3 kB / 0.597 GB, free: 10.45 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.1217, allocations: 139 kB / 0.5971 GB, free: 10.31 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.1226, allocations: 490.7 kB / 0.5976 GB, free: 9.828 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.1231, allocations: 0.6263 MB / 0.5982 GB, free: 9.199 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1233, allocations: 129.4 kB / 0.5983 GB, free: 9.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1235, allocations: 250.8 kB / 0.5986 GB, free: 8.824 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1239, allocations: 314.4 kB / 0.5989 GB, free: 8.516 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.1239, allocations: 28 kB / 0.5989 GB, free: 8.488 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1241, allocations: 95.97 kB / 0.599 GB, free: 8.395 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.1242, allocations: 107.4 kB / 0.5991 GB, free: 8.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1244, allocations: 274.3 kB / 0.5993 GB, free: 8.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.125, allocations: 0.6849 MB / 0.6 GB, free: 7.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.125, allocations: 0 / 0.6 GB, free: 7.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.125, allocations: 0 / 0.6 GB, free: 7.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.125, allocations: 0 / 0.6 GB, free: 7.332 MB / 394.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.003006/0.1281, allocations: 1.233 MB / 0.6012 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1281, allocations: 11.98 kB / 0.6012 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.1296, allocations: 288 kB / 0.6015 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.1301, allocations: 441.6 kB / 0.6019 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1303, allocations: 193.6 kB / 0.6021 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1304, allocations: 36 kB / 0.6021 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.1314, allocations: 0.5603 MB / 0.6027 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1314, allocations: 0 / 0.6027 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.1314, allocations: 19.94 kB / 0.6027 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1314, allocations: 12 kB / 0.6027 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.1324, allocations: 483.2 kB / 0.6032 GB, free: 3.957 MB / 394.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.002522/0.1349, allocations: 2.089 MB / 0.6052 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.146, allocations: 2.049 MB / 0.6072 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.1465, allocations: 282.2 kB / 0.6075 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.1466, allocations: 11.94 kB / 0.6075 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007475/0.1474, allocations: 359.1 kB / 0.6078 GB, free: 14.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.1474, allocations: 4 kB / 0.6078 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00684/0.1542, allocations: 2.2 MB / 0.61 GB, free: 12.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1543, allocations: 85.05 kB / 0.6101 GB, free: 12.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.1547, allocations: 421.9 kB / 0.6105 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.1548, allocations: 29.7 kB / 0.6105 GB, free: 12.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.155, allocations: 284 kB / 0.6108 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1551, allocations: 134 kB / 0.6109 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1553, allocations: 70.14 kB / 0.611 GB, free: 11.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1554, allocations: 362.7 kB / 0.6113 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.156, allocations: 260.7 kB / 0.6116 GB, free: 10.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.1565, allocations: 302.8 kB / 0.6119 GB, free: 10.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1576, allocations: 0.5468 MB / 0.6124 GB, free: 10.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1576, allocations: 0 / 0.6124 GB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00399/0.1616, allocations: 1.339 MB / 0.6137 GB, free: 8.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1616, allocations: 4 kB / 0.6137 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1616, allocations: 0 / 0.6137 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.1642, allocations: 0.7174 MB / 0.6144 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1645, allocations: 43.91 kB / 0.6144 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.1706, allocations: 4.296 MB / 0.6186 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.1711, allocations: 63.69 kB / 0.6187 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.1711, allocations: 12 kB / 0.6187 GB, free: 3.344 MB / 410.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.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.0002032/0.1713, allocations: 173.7 kB / 0.6189 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.1714, allocations: 51.34 kB / 0.6189 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/0.1754, allocations: 1.32 MB / 0.6202 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.1754, allocations: 11.97 kB / 0.6202 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1754, allocations: 0 / 0.6202 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1754, allocations: 0 / 0.6202 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.1761, allocations: 0.6181 MB / 0.6208 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1761, allocations: 4 kB / 0.6208 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1762, allocations: 35.86 kB / 0.6209 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.1787, allocations: 0.7023 MB / 0.6216 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.1788, allocations: 4 kB / 0.6216 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/0.1849, allocations: 4.272 MB / 0.6257 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1849, allocations: 4 kB / 0.6257 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.1899, allocations: 2.293 MB / 0.628 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1901, allocations: 132.4 kB / 0.6281 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.1901, allocations: 8 kB / 0.6281 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.1906, allocations: 43.95 kB / 0.6281 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.1909, allocations: 95.83 kB / 0.6282 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1909, allocations: 12 kB / 0.6282 GB, free: 9.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003176/0.1912, allocations: 299.1 kB / 0.6285 GB, free: 8.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1912, allocations: 0 / 0.6285 GB, free: 8.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006809/0.1919, allocations: 183.6 kB / 0.6287 GB, free: 8.648 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 (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.0001568/0.1921, allocations: 107.5 kB / 0.6288 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002989/0.1951, allocations: 1.263 MB / 0.63 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1951, allocations: 0 / 0.63 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.1973, allocations: 0.9734 MB / 0.631 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1978, allocations: 51.78 kB / 0.631 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.2, allocations: 1.403 MB / 0.6324 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.2004, allocations: 0.8665 MB / 0.6333 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.2006, allocations: 35.27 kB / 0.6333 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.2007, allocations: 27.44 kB / 0.6333 GB, free: 3.715 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2007, allocations: 0 / 0.6333 GB, free: 3.715 MB / 426.7 MB Notification: Performance of Templates: time 0.2046/0.4053, allocations: 8.967 MB / 0.6421 GB, free: 51.14 MB / 426.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)