Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.conf.json 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/Complex 4.0.0+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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009346, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008236/0.0008235, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05666/0.05666, allocations: 10.74 MB / 281.1 MB, free: 10.55 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005514, allocations: 14.97 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1002, allocations: 50.01 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.001781/0.102, allocations: 1.277 MB / 392.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.1026, allocations: 251.3 kB / 393.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.1027, allocations: 0 / 393.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.1027, allocations: 7.922 kB / 393.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1028, allocations: 3.938 kB / 393.2 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.103, allocations: 51.89 kB / 393.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1032, allocations: 95.69 kB / 393.3 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1033, allocations: 13.45 kB / 393.3 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1034, allocations: 39.78 kB / 393.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.1035, allocations: 47.77 kB / 393.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1035, allocations: 4 kB / 393.4 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.1036, allocations: 27.92 kB / 393.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.1036, allocations: 19.91 kB / 393.5 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1037, allocations: 49.62 kB / 393.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1038, allocations: 71.86 kB / 393.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1038, allocations: 0 / 393.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1038, allocations: 0 / 393.6 MB, free: 3.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1038, allocations: 0 / 393.6 MB, free: 3.797 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005248/0.1043, allocations: 414.7 kB / 394 MB, free: 3.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1044, allocations: 8.031 kB / 394 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.1045, allocations: 19.77 kB / 394 MB, free: 3.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1047, allocations: 211.4 kB / 394.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1047, allocations: 4 kB / 394.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1048, allocations: 11.98 kB / 394.2 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.105, allocations: 93.59 kB / 394.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.105, allocations: 0 / 394.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.105, allocations: 3.984 kB / 394.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.105, allocations: 0 / 394.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1052, allocations: 47.98 kB / 394.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.1058, allocations: 392.5 kB / 394.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.106, allocations: 102.6 kB / 394.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1062, allocations: 56.83 kB / 394.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1062, allocations: 8 kB / 394.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.1064, allocations: 107.2 kB / 395 MB, free: 2.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.1065, allocations: 0 / 395 MB, free: 2.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004062/0.1069, allocations: 189.8 kB / 395.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1069, allocations: 59.41 kB / 395.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1071, allocations: 171.3 kB / 395.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1071, allocations: 25.7 kB / 395.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.1072, allocations: 112 kB / 395.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1072, allocations: 39.59 kB / 395.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.1072, allocations: 0 / 395.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1074, allocations: 326.8 kB / 395.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.1074, allocations: 35.98 kB / 396 MB, free: 1.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.71e-05/0.1076, allocations: 81.92 kB / 396 MB, free: 1.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.1076, allocations: 44 kB / 396.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1077, allocations: 4 kB / 396.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002528/0.1079, allocations: 161.2 kB / 396.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1079, allocations: 4 kB / 396.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.108, allocations: 8.188 kB / 396.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.108, allocations: 4 kB / 396.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1081, allocations: 27.92 kB / 396.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1081, allocations: 7.984 kB / 396.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1082, allocations: 19.84 kB / 396.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1082, allocations: 4 kB / 396.3 MB, free: 0.8086 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.fO_dig_BE.y,fO_dig_BE.y,$PRE.fO_dig_FE.y,fO_dig_FE.y,$PRE.fO_dig_TU.y,fO_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.1083, allocations: 128.4 kB / 396.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1084, allocations: 15.86 kB / 396.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.1084, allocations: 29.44 kB / 396.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1084, allocations: 0 / 396.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1084, allocations: 4 kB / 396.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1084, allocations: 0 / 396.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1089, allocations: 446.2 kB / 396.9 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1089, allocations: 4 kB / 396.9 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.109, allocations: 23.98 kB / 397 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.109, allocations: 0 / 397 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1091, allocations: 7.984 kB / 397 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1091, allocations: 0 / 397 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1091, allocations: 0 / 397 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1095, allocations: 307.2 kB / 397.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1096, allocations: 89.03 kB / 397.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1096, allocations: 4 kB / 397.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1097, allocations: 4 kB / 397.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1098, allocations: 7.984 kB / 397.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1098, allocations: 4 kB / 397.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.1099, allocations: 124 kB / 397.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1099, allocations: 0 / 397.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1101, allocations: 31.98 kB / 397.5 MB, free: 15.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.1103, allocations: 111.3 kB / 397.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1105, allocations: 104.3 kB / 397.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1105, allocations: 4 kB / 397.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.1106, allocations: 52.59 kB / 397.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.111, allocations: 37.48 kB / 397.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.1116, allocations: 316.1 kB / 398.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1119, allocations: 0.7088 MB / 398.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.112, allocations: 13.42 kB / 398.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.112, allocations: 19.44 kB / 398.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.112, allocations: 0 / 398.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.003826/0.1159, allocations: 1.229 MB / 400.1 MB, free: 12.87 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) Environment - environmentSimulation: