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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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) 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.001369/0.001369, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001314/0.001314, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06449/0.06449, allocations: 11.2 MB / 301.9 MB, free: 4.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 364.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2, allocations: 51.98 MB / 416.7 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002208/0.2023, allocations: 1.645 MB / 418.4 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000427/0.2027, allocations: 247.9 kB / 418.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.2028, allocations: 0 / 418.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.2028, allocations: 18.62 kB / 418.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.2029, allocations: 7.875 kB / 418.7 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.2032, allocations: 67.88 kB / 418.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2033, allocations: 99.75 kB / 418.8 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2034, allocations: 14.05 kB / 418.8 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2035, allocations: 43.67 kB / 418.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.2036, allocations: 55.75 kB / 418.9 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2036, allocations: 8 kB / 418.9 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.2037, allocations: 31.97 kB / 419 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.2037, allocations: 27.86 kB / 419 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2037, allocations: 51.66 kB / 419 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2038, allocations: 71.88 kB / 419.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2039, allocations: 0 / 419.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2039, allocations: 0 / 419.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2039, allocations: 4 kB / 419.1 MB, free: 20.31 MB / 302.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.0004499/0.2043, allocations: 427.9 kB / 419.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2044, allocations: 11.89 kB / 419.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.2044, allocations: 16.75 kB / 419.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2046, allocations: 208.1 kB / 419.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2046, allocations: 8.375 kB / 419.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2046, allocations: 8.359 kB / 419.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2048, allocations: 96.66 kB / 419.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2048, allocations: 192 / 419.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2048, allocations: 11.92 kB / 419.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2048, allocations: 0 / 419.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2049, allocations: 47.92 kB / 419.9 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.2054, allocations: 376.6 kB / 420.3 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2056, allocations: 102.6 kB / 420.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.2057, allocations: 60.83 kB / 420.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2057, allocations: 3.984 kB / 420.5 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.206, allocations: 107.4 kB / 420.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.206, allocations: 0 / 420.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003415/0.2063, allocations: 181.4 kB / 420.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2064, allocations: 63.39 kB / 420.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2065, allocations: 171.3 kB / 421 MB, free: 18.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2065, allocations: 29.7 kB / 421 MB, free: 18.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.2065, allocations: 127.8 kB / 421.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2066, allocations: 31.55 kB / 421.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2066, allocations: 33.72 kB / 421.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.2067, allocations: 334.8 kB / 421.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.2067, allocations: 35.92 kB / 421.6 MB, free: 17.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.2068, allocations: 84.05 kB / 421.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.207, allocations: 128.9 kB / 421.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.207, allocations: 0 / 421.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002012/0.2072, allocations: 157.3 kB / 421.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2072, allocations: 7.938 kB / 421.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2072, allocations: 8.188 kB / 421.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2072, allocations: 0 / 421.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2074, allocations: 27.98 kB / 422 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2074, allocations: 4 kB / 422 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.2074, allocations: 15.84 kB / 422 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2075, allocations: 4 kB / 422 MB, free: 17.18 MB / 302.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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.2075, allocations: 133.7 kB / 422.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.2076, allocations: 15.81 kB / 422.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.2076, allocations: 17.53 kB / 422.2 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2076, allocations: 4 kB / 422.2 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2076, allocations: 0 / 422.2 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2076, allocations: 0 / 422.2 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.208, allocations: 442.4 kB / 422.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.208, allocations: 0 / 422.6 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.2081, allocations: 15.98 kB / 422.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2081, allocations: 4 kB / 422.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2081, allocations: 4 kB / 422.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2081, allocations: 0 / 422.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2081, allocations: 3.938 kB / 422.6 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.2084, allocations: 298.7 kB / 422.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.2085, allocations: 88.98 kB / 423 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.2085, allocations: 0 / 423 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.2086, allocations: 11.98 kB / 423 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2086, allocations: 16 kB / 423 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2086, allocations: 7.984 kB / 423 MB, free: 16.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.2087, allocations: 120 kB / 423.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2087, allocations: 4 kB / 423.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.209, allocations: 24 kB / 423.2 MB, free: 15.89 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 (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.0001022/0.2091, allocations: 119.1 kB / 423.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2093, allocations: 111.8 kB / 423.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2093, allocations: 0 / 423.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.2094, allocations: 51.92 kB / 423.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2097, allocations: 24.64 kB / 423.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.2103, allocations: 341.5 kB / 423.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2104, allocations: 0.7046 MB / 424.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.2105, allocations: 19.44 kB / 424.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2105, allocations: 0 / 424.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Templates: time 0.002884/0.2134, allocations: 1.664 MB / 426.2 MB, free: 12.81 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile (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)