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.0009865/0.0009865, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001153/0.001153, allocations: 173 kB / 23.5 MB, free: 1.055 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.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.04935/0.04935, allocations: 8.613 MB / 268.9 MB, free: 4.98 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.893e-06/1.893e-06, allocations: 0 / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.588e-05, allocations: 2.312 kB / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.005204/0.00523, allocations: 1.697 MB / 342.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.005876, allocations: 342.8 kB / 342.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.005963, allocations: 0 / 342.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.005999, allocations: 11.81 kB / 342.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.006112, allocations: 35.73 kB / 343 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.006481, allocations: 111.7 kB / 343.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.006675, allocations: 167.5 kB / 343.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.006791, allocations: 21.78 kB / 343.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.01023, allocations: 87.73 kB / 343.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.01035, allocations: 67.72 kB / 343.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.01038, allocations: 12 kB / 343.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.01051, allocations: 75.92 kB / 343.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.01055, allocations: 47.83 kB / 343.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.01061, allocations: 51.78 kB / 343.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.01087, allocations: 175.4 kB / 343.8 MB, free: 5.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01087, allocations: 4 kB / 343.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01088, allocations: 0 / 343.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.01088, allocations: 3.938 kB / 343.8 MB, free: 5.824 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.0006205/0.0115, allocations: 0.5036 MB / 344.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.01154, allocations: 12.03 kB / 344.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.01163, allocations: 24.8 kB / 344.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.01182, allocations: 184.9 kB / 344.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.01184, allocations: 8.562 kB / 344.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.01188, allocations: 16.38 kB / 344.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.01214, allocations: 277.5 kB / 344.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01215, allocations: 0 / 344.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.01217, allocations: 8 kB / 344.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.01218, allocations: 0 / 344.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.01226, allocations: 36.91 kB / 344.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.01285, allocations: 427.4 kB / 345.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.01303, allocations: 103.2 kB / 345.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.0131, allocations: 43.61 kB / 345.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.01311, allocations: 7.984 kB / 345.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.0133, allocations: 125.1 kB / 345.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.01331, allocations: 0 / 345.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003841/0.01369, allocations: 208.2 kB / 345.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.01375, allocations: 178.1 kB / 345.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.01689, allocations: 241.9 kB / 346.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.01692, allocations: 33.7 kB / 346.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.01698, allocations: 175.2 kB / 346.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.01701, allocations: 55.58 kB / 346.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.01707, allocations: 59.36 kB / 346.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.01712, allocations: 0.504 MB / 346.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.01717, allocations: 24.27 kB / 347 MB, free: 2.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.01727, allocations: 298 kB / 347.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01744, allocations: 222.9 kB / 347.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01744, allocations: 4 kB / 347.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002151/0.01766, allocations: 213.1 kB / 347.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01768, allocations: 18.42 kB / 347.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01768, allocations: 4 kB / 347.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.01771, allocations: 4.375 kB / 347.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.01789, allocations: 55.92 kB / 347.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01789, allocations: 11.92 kB / 347.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.01796, allocations: 23.89 kB / 347.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01797, allocations: 12 kB / 347.8 MB, free: 1.34 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.0001323/0.0181, allocations: 198.4 kB / 348 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01813, allocations: 27.8 kB / 348 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.01817, allocations: 21.8 kB / 348.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01818, allocations: 4 kB / 348.1 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01818, allocations: 4 kB / 348.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01819, allocations: 0 / 348.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.01854, allocations: 473.2 kB / 348.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01854, allocations: 3.938 kB / 348.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.01868, allocations: 19.98 kB / 348.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01868, allocations: 0 / 348.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.01871, allocations: 7.984 kB / 348.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01871, allocations: 4 kB / 348.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01872, allocations: 0 / 348.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.01908, allocations: 378.3 kB / 348.9 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.0191, allocations: 23.8 kB / 349 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.01914, allocations: 11.98 kB / 349 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.01924, allocations: 4 kB / 349 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.01929, allocations: 23.97 kB / 349 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.0193, allocations: 4 kB / 349 MB, free: 84 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01942, allocations: 180.1 kB / 349.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01942, allocations: 0 / 349.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.0198, allocations: 59.92 kB / 349.2 MB, free: 15.85 MB / 282.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.00022/0.02002, allocations: 137.3 kB / 349.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.02029, allocations: 127.4 kB / 349.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02029, allocations: 0 / 349.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.02039, allocations: 55.59 kB / 349.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.02073, allocations: 54.98 kB / 349.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.02138, allocations: 333.3 kB / 349.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.313e-05/0.02145, allocations: 76.34 kB / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.02152, allocations: 25.94 kB / 350 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.02157, allocations: 20.5 kB / 350 MB, free: 14.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02157, allocations: 0 / 350 MB, free: 14.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005321/0.02689, allocations: 2.551 MB / 352.6 MB, free: 12.48 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.019823431968689]