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.001426/0.001426, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001671/0.001671, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9955/0.9955, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.04622/0.04622, allocations: 8.625 MB / 268.9 MB, free: 4.773 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 2.044e-06/2.044e-06, allocations: 0 / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.735e-05, allocations: 2.312 kB / 288.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.1161/0.1161, allocations: 1.735 MB / 289.8 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.1168, allocations: 355.9 kB / 290.2 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.1169, allocations: 1.062 kB / 290.2 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.1169, allocations: 12.56 kB / 290.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.117, allocations: 26.97 kB / 290.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1173, allocations: 110.2 kB / 290.3 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1175, allocations: 164.7 kB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1176, allocations: 19.33 kB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1177, allocations: 92.56 kB / 290.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.1178, allocations: 63.06 kB / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.1179, allocations: 16.22 kB / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.118, allocations: 86.08 kB / 290.8 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.1181, allocations: 43.33 kB / 290.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.1181, allocations: 48.56 kB / 290.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1183, allocations: 179.8 kB / 291 MB, free: 19.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1183, allocations: 1 kB / 291 MB, free: 19.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1183, allocations: 0 / 291 MB, free: 19.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1183, allocations: 0 / 291 MB, free: 19.08 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.0004513/0.1188, allocations: 384.4 kB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.1188, allocations: 9.219 kB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1189, allocations: 25.34 kB / 291.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.119, allocations: 165.7 kB / 291.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.119, allocations: 10.3 kB / 291.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1191, allocations: 16.94 kB / 291.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1192, allocations: 262.5 kB / 291.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1193, allocations: 4.453 kB / 291.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1193, allocations: 6.766 kB / 291.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1193, allocations: 3.094 kB / 291.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.1193, allocations: 21.84 kB / 291.9 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1197, allocations: 262.4 kB / 292.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1198, allocations: 66.44 kB / 292.2 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.1199, allocations: 35.31 kB / 292.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1199, allocations: 3.594 kB / 292.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.12, allocations: 115.5 kB / 292.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.12, allocations: 0 / 292.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001986/0.1202, allocations: 131.2 kB / 292.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1203, allocations: 165.2 kB / 292.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1204, allocations: 199.6 kB / 292.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1204, allocations: 38.12 kB / 292.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.1204, allocations: 109.3 kB / 293 MB, free: 17.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1205, allocations: 59.77 kB / 293.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.1205, allocations: 60.28 kB / 293.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.1206, allocations: 334.8 kB / 293.5 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.1206, allocations: 23.31 kB / 293.5 MB, free: 17.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.1207, allocations: 235 kB / 293.7 MB, free: 16.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1208, allocations: 169 kB / 293.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1208, allocations: 1.844 kB / 293.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000196/0.121, allocations: 164.6 kB / 294 MB, free: 16.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.121, allocations: 7.375 kB / 294 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.121, allocations: 3.188 kB / 294 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.121, allocations: 9.734 kB / 294.1 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.1213, allocations: 67.95 kB / 294.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1213, allocations: 9.875 kB / 294.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.1214, allocations: 33.06 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1214, allocations: 8.75 kB / 294.2 MB, free: 16.79 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 9.73e-05/0.1215, allocations: 143.8 kB / 294.3 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1215, allocations: 18.19 kB / 294.3 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.1215, allocations: 26.94 kB / 294.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1216, allocations: 3.984 kB / 294.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1216, allocations: 1.219 kB / 294.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1216, allocations: 1.875 kB / 294.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1218, allocations: 289.4 kB / 294.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1218, allocations: 1.438 kB / 294.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1219, allocations: 36.34 kB / 294.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1219, allocations: 3.938 kB / 294.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.122, allocations: 8.234 kB / 294.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.122, allocations: 1.906 kB / 294.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.122, allocations: 2.062 kB / 294.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.1222, allocations: 232 kB / 294.9 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.1222, allocations: 25.14 kB / 295 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1222, allocations: 13.78 kB / 295 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1223, allocations: 6.375 kB / 295 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.1223, allocations: 13.28 kB / 295 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1223, allocations: 8.625 kB / 295 MB, free: 16.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.006e-05/0.1224, allocations: 52.2 kB / 295 MB, free: 16.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1224, allocations: 0 / 295 MB, free: 16.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.1227, allocations: 54.89 kB / 295.1 MB, free: 16.27 MB / 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.0001323/0.1228, allocations: 127.9 kB / 295.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.1229, allocations: 109.1 kB / 295.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.123, allocations: 3.531 kB / 295.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.123, allocations: 42.89 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1232, allocations: 42.08 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.1236, allocations: 329.5 kB / 295.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.1237, allocations: 78.09 kB / 295.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.1237, allocations: 23.62 kB / 295.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1238, allocations: 92.8 kB / 295.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1238, allocations: 0 / 295.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005417/0.1293, allocations: 2.776 MB / 298.7 MB, free: 15.61 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7657867786474526]