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/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.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 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: translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Events.TestBreaker") translateModel(OpenIPSL.Tests.Events.TestBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Events.TestBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 183 kB / 15.98 MB, free: 5.77 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.21/1.21, allocations: 222.9 MB / 239.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 97.95 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4067/0.4067, allocations: 78.51 MB / 418.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.89 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 68.17 MB / 0.5524 GB, free: 19.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003179/0.2417, allocations: 3.869 MB / 0.5562 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2431, allocations: 1.122 MB / 0.5573 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2433, allocations: 12 kB / 0.5573 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.2436, allocations: 95.36 kB / 0.5574 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.2438, allocations: 139 kB / 0.5575 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.2446, allocations: 494 kB / 0.558 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.245, allocations: 0.6224 MB / 0.5586 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2452, allocations: 137.1 kB / 0.5587 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2453, allocations: 254.8 kB / 0.559 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2456, allocations: 306.5 kB / 0.5593 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.2456, allocations: 28 kB / 0.5593 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2458, allocations: 95.97 kB / 0.5594 GB, free: 12.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.2459, allocations: 107.4 kB / 0.5595 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.246, allocations: 274.3 kB / 0.5597 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2464, allocations: 0.6831 MB / 0.5604 GB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2464, allocations: 3.938 kB / 0.5604 GB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.2464, allocations: 0 / 0.5604 GB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2465, allocations: 0 / 0.5604 GB, free: 11.61 MB / 378.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.002707/0.2492, allocations: 1.233 MB / 0.5616 GB, free: 10.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.2492, allocations: 12.03 kB / 0.5616 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.2507, allocations: 283.9 kB / 0.5619 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.2511, allocations: 433.7 kB / 0.5623 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2513, allocations: 201.6 kB / 0.5625 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.2514, allocations: 40 kB / 0.5625 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.2522, allocations: 0.5525 MB / 0.5631 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2522, allocations: 0 / 0.5631 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.2523, allocations: 24 kB / 0.5631 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2523, allocations: 15.94 kB / 0.5631 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.2531, allocations: 475.2 kB / 0.5636 GB, free: 8.238 MB / 378.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.002138/0.2552, allocations: 2.101 MB / 0.5656 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.2654, allocations: 2.057 MB / 0.5676 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.2659, allocations: 277.6 kB / 0.5679 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/0.266, allocations: 4 kB / 0.5679 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/0.2667, allocations: 375 kB / 0.5683 GB, free: 3.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.2667, allocations: 0 / 0.5683 GB, free: 3.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.005997/0.2727, allocations: 2.186 MB / 0.5704 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2728, allocations: 89.05 kB / 0.5705 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2731, allocations: 417.9 kB / 0.5709 GB, free: 400 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2731, allocations: 33.7 kB / 0.5709 GB, free: 360 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2733, allocations: 276.1 kB / 0.5712 GB, free: 76 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2734, allocations: 138 kB / 0.5713 GB, free: 15.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.2735, allocations: 74.03 kB / 0.5714 GB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2737, allocations: 354.8 kB / 0.5717 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.2742, allocations: 260.8 kB / 0.572 GB, free: 15.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.2748, allocations: 314.7 kB / 0.5723 GB, free: 14.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2759, allocations: 0.5406 MB / 0.5728 GB, free: 14.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2759, allocations: 3.938 kB / 0.5728 GB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003843/0.2798, allocations: 1.343 MB / 0.5741 GB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2798, allocations: 4 kB / 0.5741 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2798, allocations: 0 / 0.5741 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.2823, allocations: 0.7096 MB / 0.5748 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2826, allocations: 47.92 kB / 0.5748 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.2885, allocations: 4.289 MB / 0.579 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.2889, allocations: 67.61 kB / 0.5791 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.289, allocations: 16 kB / 0.5791 GB, free: 7.605 MB / 394.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.000205/0.2892, allocations: 173.6 kB / 0.5793 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.2893, allocations: 47.44 kB / 0.5793 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.2932, allocations: 1.323 MB / 0.5806 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2932, allocations: 8 kB / 0.5806 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2932, allocations: 0 / 0.5806 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2932, allocations: 0 / 0.5806 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.2938, allocations: 0.6296 MB / 0.5812 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2938, allocations: 0 / 0.5812 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.294, allocations: 31.86 kB / 0.5813 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.2964, allocations: 0.7019 MB / 0.582 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.2964, allocations: 11.98 kB / 0.582 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.302, allocations: 4.26 MB / 0.5861 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.302, allocations: 4 kB / 0.5861 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.3067, allocations: 2.283 MB / 0.5884 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3068, allocations: 132.3 kB / 0.5885 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.3069, allocations: 11.94 kB / 0.5885 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.3073, allocations: 44.2 kB / 0.5885 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.3075, allocations: 107.8 kB / 0.5886 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.3076, allocations: 12 kB / 0.5886 GB, free: 13.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.3078, allocations: 291.1 kB / 0.5889 GB, free: 13.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 0.5889 GB, free: 13.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.3084, allocations: 187.6 kB / 0.5891 GB, free: 12.92 MB / 410.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.0001345/0.3086, allocations: 107.2 kB / 0.5892 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.3114, allocations: 1.271 MB / 0.5905 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3114, allocations: 4 kB / 0.5905 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.3135, allocations: 0.9733 MB / 0.5914 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3139, allocations: 51.77 kB / 0.5915 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3159, allocations: 1.398 MB / 0.5928 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3162, allocations: 0.8665 MB / 0.5937 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3163, allocations: 39.25 kB / 0.5937 GB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3164, allocations: 27.44 kB / 0.5937 GB, free: 7.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3164, allocations: 0 / 0.5937 GB, free: 7.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01278/0.3292, allocations: 8.963 MB / 0.6025 GB, free: 15.04 MB / 426.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Events.TestBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)