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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05705/0.05705, allocations: 10.75 MB / 27.48 MB, free: 1.867 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 235.7 MB, free: 11.73 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009414/0.0009412, allocations: 102.3 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0009142/0.0009142, allocations: 60.12 kB / 345.3 MB, free: 0.9805 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2394, allocations: 48.99 MB / 394.3 MB, free: 35.59 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002611/0.2421, allocations: 1.657 MB / 395.9 MB, free: 33.91 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.2426, allocations: 261.5 kB / 396.2 MB, free: 33.66 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.2427, allocations: 0 / 396.2 MB, free: 33.66 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.2427, allocations: 7.938 kB / 396.2 MB, free: 33.65 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.2428, allocations: 11.88 kB / 396.2 MB, free: 33.64 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.2431, allocations: 51.94 kB / 396.3 MB, free: 33.59 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2432, allocations: 95.7 kB / 396.4 MB, free: 33.5 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2433, allocations: 25.38 kB / 396.4 MB, free: 33.47 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.2434, allocations: 39.83 kB / 396.4 MB, free: 33.43 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.2434, allocations: 47.66 kB / 396.5 MB, free: 33.39 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2435, allocations: 12 kB / 396.5 MB, free: 33.38 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.2435, allocations: 31.97 kB / 396.5 MB, free: 33.34 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.2436, allocations: 19.91 kB / 396.5 MB, free: 33.32 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.2436, allocations: 43.67 kB / 396.6 MB, free: 33.28 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2438, allocations: 111.6 kB / 396.7 MB, free: 33.17 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2438, allocations: 0 / 396.7 MB, free: 33.17 MB / 298.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2438, allocations: 0 / 396.7 MB, free: 33.17 MB / 298.8 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2438, allocations: 0 / 396.7 MB, free: 33.17 MB / 298.8 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.0005511/0.2444, allocations: 433.1 kB / 397.1 MB, free: 32.7 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2444, allocations: 8.031 kB / 397.1 MB, free: 32.69 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.2445, allocations: 16.75 kB / 397.1 MB, free: 32.68 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2447, allocations: 209.6 kB / 397.3 MB, free: 32.43 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2447, allocations: 8.359 kB / 397.3 MB, free: 32.43 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.2447, allocations: 8.375 kB / 397.4 MB, free: 32.42 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2449, allocations: 86.16 kB / 397.4 MB, free: 32.33 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2449, allocations: 8.172 kB / 397.4 MB, free: 32.32 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2449, allocations: 7.938 kB / 397.5 MB, free: 32.31 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2449, allocations: 7.938 kB / 397.5 MB, free: 32.3 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2451, allocations: 43.98 kB / 397.5 MB, free: 32.26 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2455, allocations: 380.5 kB / 397.9 MB, free: 31.84 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2457, allocations: 102.6 kB / 398 MB, free: 31.73 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.2458, allocations: 64.77 kB / 398 MB, free: 31.66 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2458, allocations: 0 / 398 MB, free: 31.66 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.246, allocations: 99.36 kB / 398.1 MB, free: 31.55 MB / 298.8 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.246, allocations: 0 / 398.1 MB, free: 31.55 MB / 298.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003507/0.2464, allocations: 192.4 kB / 398.3 MB, free: 31.36 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2464, allocations: 55.41 kB / 398.4 MB, free: 31.3 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2465, allocations: 171.4 kB / 398.5 MB, free: 31.12 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2465, allocations: 29.7 kB / 398.6 MB, free: 31.08 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.2466, allocations: 108 kB / 398.7 MB, free: 30.97 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2466, allocations: 47.38 kB / 398.7 MB, free: 30.93 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.2467, allocations: 33.72 kB / 398.8 MB, free: 30.89 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.2467, allocations: 330.8 kB / 399.1 MB, free: 30.55 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.2468, allocations: 31.98 kB / 399.1 MB, free: 30.52 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.2469, allocations: 84 kB / 399.2 MB, free: 30.42 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.247, allocations: 129.9 kB / 399.3 MB, free: 30.27 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.247, allocations: 0 / 399.3 MB, free: 30.27 MB / 298.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001888/0.2472, allocations: 161.5 kB / 399.5 MB, free: 30.11 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2472, allocations: 6.188 kB / 399.5 MB, free: 30.11 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2473, allocations: 4 kB / 399.5 MB, free: 30.1 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2473, allocations: 0 / 399.5 MB, free: 30.1 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2474, allocations: 31.92 kB / 399.5 MB, free: 30.07 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2474, allocations: 4 kB / 399.5 MB, free: 30.07 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.2475, allocations: 15.84 kB / 399.5 MB, free: 30.05 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2475, allocations: 7.984 kB / 399.5 MB, free: 30.04 MB / 298.8 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 7.315e-05/0.2476, allocations: 133.8 kB / 399.7 MB, free: 29.9 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2476, allocations: 7.906 kB / 399.7 MB, free: 29.89 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.2476, allocations: 17.53 kB / 399.7 MB, free: 29.88 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2476, allocations: 4 kB / 399.7 MB, free: 29.88 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2477, allocations: 0 / 399.7 MB, free: 29.88 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2477, allocations: 3.984 kB / 399.7 MB, free: 29.87 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.248, allocations: 437.5 kB / 400.1 MB, free: 29.39 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.248, allocations: 3.938 kB / 400.1 MB, free: 29.39 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.2481, allocations: 23.92 kB / 400.2 MB, free: 29.36 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2481, allocations: 0 / 400.2 MB, free: 29.36 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2481, allocations: 8 kB / 400.2 MB, free: 29.36 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2482, allocations: 0 / 400.2 MB, free: 29.36 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2482, allocations: 3.938 kB / 400.2 MB, free: 29.35 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.2492, allocations: 1.234 MB / 401.4 MB, free: 27.98 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.2492, allocations: 96.94 kB / 401.5 MB, free: 27.86 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2493, allocations: 3.938 kB / 401.5 MB, free: 27.86 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.2493, allocations: 4 kB / 401.5 MB, free: 27.86 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.2494, allocations: 12.11 kB / 401.5 MB, free: 27.84 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2494, allocations: 8 kB / 401.5 MB, free: 27.84 MB / 298.8 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.2495, allocations: 125.3 kB / 401.7 MB, free: 27.71 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2495, allocations: 3.938 kB / 401.7 MB, free: 27.71 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003109/0.2498, allocations: 32 kB / 401.7 MB, free: 27.68 MB / 298.8 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.0001455/0.25, allocations: 111.2 kB / 401.8 MB, free: 27.56 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2502, allocations: 108.1 kB / 401.9 MB, free: 27.46 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2502, allocations: 0 / 401.9 MB, free: 27.46 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2503, allocations: 61.53 kB / 402 MB, free: 27.4 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2506, allocations: 29.56 kB / 402 MB, free: 27.37 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.2514, allocations: 444.2 kB / 402.4 MB, free: 26.9 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.2516, allocations: 0.7049 MB / 403.1 MB, free: 26.17 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.2516, allocations: 25.34 kB / 403.2 MB, free: 26.14 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.2517, allocations: 15.44 kB / 403.2 MB, free: 26.13 MB / 298.8 MB Notification: Performance of SimCode: time 3.31e-07/0.2517, allocations: 0 / 403.2 MB, free: 26.13 MB / 298.8 MB Notification: Performance of Templates: time 0.003784/0.2555, allocations: 1.351 MB / 404.5 MB, free: 24.78 MB / 298.8 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)