Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06662/0.06662, allocations: 8.608 MB / 268.2 MB, free: 4.938 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.457e-05, allocations: 10.25 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002017/0.002041, allocations: 1.65 MB / 341.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.002613, allocations: 342.8 kB / 342.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.002675, allocations: 0 / 342.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.002712, allocations: 11.81 kB / 342.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.002818, allocations: 35.73 kB / 342.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.00311, allocations: 115.7 kB / 342.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.003279, allocations: 159.5 kB / 342.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.003369, allocations: 21.78 kB / 342.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.003452, allocations: 95.67 kB / 342.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.003529, allocations: 59.78 kB / 342.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003555, allocations: 16 kB / 342.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.003654, allocations: 79.92 kB / 342.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.003684, allocations: 43.83 kB / 342.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.003731, allocations: 51.77 kB / 342.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.003937, allocations: 223.4 kB / 343 MB, free: 5.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.00394, allocations: 3.938 kB / 343 MB, free: 5.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00394, allocations: 0 / 343 MB, free: 5.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.003944, allocations: 0 / 343 MB, free: 5.848 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000557/0.004501, allocations: 405.5 kB / 343.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.004529, allocations: 8.031 kB / 343.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.004604, allocations: 40.78 kB / 343.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.004778, allocations: 174 kB / 343.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.004793, allocations: 12.55 kB / 343.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.004829, allocations: 12.38 kB / 343.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.005102, allocations: 284.5 kB / 343.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.005114, allocations: 0 / 343.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.005133, allocations: 4 kB / 343.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005137, allocations: 4 kB / 343.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.005278, allocations: 59.95 kB / 344 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.005873, allocations: 376.2 kB / 344.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.006105, allocations: 126.7 kB / 344.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.006218, allocations: 64.83 kB / 344.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.006234, allocations: 4 kB / 344.6 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.006484, allocations: 151.3 kB / 344.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.006485, allocations: 0 / 344.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.000475/0.00696, allocations: 272.2 kB / 345 MB, free: 3.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.007014, allocations: 162.2 kB / 345.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.007137, allocations: 203.1 kB / 345.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.007158, allocations: 37.7 kB / 345.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.007209, allocations: 124.5 kB / 345.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.00724, allocations: 55.53 kB / 345.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.007297, allocations: 53.7 kB / 345.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.007342, allocations: 338.8 kB / 345.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.007437, allocations: 52.25 kB / 346 MB, free: 2.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.007576, allocations: 270.7 kB / 346.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.007831, allocations: 233.4 kB / 346.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.007834, allocations: 4 kB / 346.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003373/0.008172, allocations: 261.1 kB / 346.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.008186, allocations: 11.94 kB / 346.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008192, allocations: 4 kB / 346.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.008214, allocations: 4 kB / 346.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.008414, allocations: 51.91 kB / 346.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.008422, allocations: 7.938 kB / 346.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.008537, allocations: 24.25 kB / 346.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.008549, allocations: 12 kB / 346.8 MB, free: 1.668 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.008685, allocations: 151.7 kB / 347 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.008725, allocations: 31.8 kB / 347 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.008767, allocations: 21.8 kB / 347 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008769, allocations: 4 kB / 347 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.008774, allocations: 0 / 347 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008777, allocations: 0 / 347 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.00923, allocations: 454.1 kB / 347.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009233, allocations: 3.938 kB / 347.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.009382, allocations: 31.92 kB / 347.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.009385, allocations: 3.984 kB / 347.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.009402, allocations: 4 kB / 347.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009403, allocations: 0 / 347.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009404, allocations: 0 / 347.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.009867, allocations: 391.2 kB / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.00989, allocations: 23.86 kB / 347.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.009929, allocations: 8 kB / 347.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01005, allocations: 16.05 kB / 348 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.0101, allocations: 15.88 kB / 348 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01011, allocations: 15.98 kB / 348 MB, free: 460 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.01019, allocations: 144.2 kB / 348.1 MB, free: 316 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 348.1 MB, free: 316 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.0105, allocations: 51.94 kB / 348.2 MB, free: 264 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.01066, allocations: 133.3 kB / 348.3 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.01101, allocations: 165.1 kB / 348.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01101, allocations: 0 / 348.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.01116, allocations: 67.75 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.01152, allocations: 51.19 kB / 348.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.01221, allocations: 336.4 kB / 348.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.01233, allocations: 113.3 kB / 349 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.257e-05/0.01242, allocations: 25.94 kB / 349.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.01247, allocations: 28.5 kB / 349.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01247, allocations: 0 / 349.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Templates: time 0.006591/0.01906, allocations: 2.541 MB / 351.6 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.335528074996546]