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.0008876/0.0008877, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.0008939/0.000894, allocations: 177.3 kB / 15.95 MB, free: 208 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.242/1.242, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0531/0.0531, allocations: 10.73 MB / 281.1 MB, free: 10.58 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.0004832/0.0004832, allocations: 16 kB / 341.6 MB, free: 23.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07518/0.07567, allocations: 50.01 MB / 391.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.001541/0.07725, allocations: 1.281 MB / 392.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.07769, allocations: 251.3 kB / 393.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.07775, allocations: 4 kB / 393.1 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.07777, allocations: 7.922 kB / 393.1 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.07785, allocations: 7.938 kB / 393.1 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.07806, allocations: 47.94 kB / 393.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.0782, allocations: 67.8 kB / 393.3 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.07829, allocations: 25.38 kB / 393.3 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.07834, allocations: 31.84 kB / 393.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.07841, allocations: 39.78 kB / 393.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.07843, allocations: 7.984 kB / 393.4 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.07849, allocations: 31.97 kB / 393.4 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.07852, allocations: 15.92 kB / 393.4 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.07856, allocations: 37.64 kB / 393.4 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.07867, allocations: 79.84 kB / 393.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.07868, allocations: 0 / 393.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07869, allocations: 0 / 393.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.0787, allocations: 0 / 393.5 MB, free: 3.867 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.0004547/0.07915, allocations: 403.2 kB / 393.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.07919, allocations: 8.031 kB / 393.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.07925, allocations: 19.77 kB / 393.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.07946, allocations: 215.3 kB / 394.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.07949, allocations: 8 kB / 394.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.07952, allocations: 4 kB / 394.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.07971, allocations: 85.64 kB / 394.2 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.07973, allocations: 8 kB / 394.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.07975, allocations: 4 kB / 394.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.07976, allocations: 0 / 394.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.07989, allocations: 55.91 kB / 394.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.08042, allocations: 380.6 kB / 394.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.08062, allocations: 110.6 kB / 394.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.08064, allocations: 0 / 394.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.08083, allocations: 111.3 kB / 394.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.08084, allocations: 0 / 394.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003692/0.08122, allocations: 193.5 kB / 395.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.08127, allocations: 51.41 kB / 395.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.0814, allocations: 167.3 kB / 395.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.08143, allocations: 33.7 kB / 395.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.0815, allocations: 116 kB / 395.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.08153, allocations: 39.58 kB / 395.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.08154, allocations: 4 kB / 395.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.08166, allocations: 322.8 kB / 395.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.08174, allocations: 35.97 kB / 395.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.08184, allocations: 82 kB / 395.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.08194, allocations: 52.42 kB / 396 MB, free: 1.176 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.08195, allocations: 4 kB / 396 MB, free: 1.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002389/0.0822, allocations: 161.3 kB / 396.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.08222, allocations: 4 kB / 396.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.08223, allocations: 4 kB / 396.1 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.08225, allocations: 8 kB / 396.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.08238, allocations: 32.11 kB / 396.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.08239, allocations: 8 kB / 396.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.08246, allocations: 15.84 kB / 396.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.08247, allocations: 8 kB / 396.2 MB, free: 0.9297 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 9.516e-05/0.08257, allocations: 132.6 kB / 396.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.0826, allocations: 11.86 kB / 396.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.08263, allocations: 13.53 kB / 396.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.08264, allocations: 0 / 396.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.08265, allocations: 8 kB / 396.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.08266, allocations: 3.984 kB / 396.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.08311, allocations: 442.3 kB / 396.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08312, allocations: 0 / 396.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.08322, allocations: 31.86 kB / 396.8 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.08323, allocations: 0 / 396.8 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.08325, allocations: 8 kB / 396.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.08326, allocations: 0 / 396.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.08326, allocations: 0 / 396.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.08364, allocations: 295.3 kB / 397.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.08369, allocations: 89 kB / 397.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.08372, allocations: 4 kB / 397.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.08381, allocations: 12.05 kB / 397.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.08385, allocations: 11.98 kB / 397.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.08387, allocations: 4 kB / 397.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.322e-05/0.08396, allocations: 120 kB / 397.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08396, allocations: 3.938 kB / 397.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.08421, allocations: 28 kB / 397.4 MB, free: 15.64 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.0001114/0.08433, allocations: 115.2 kB / 397.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.08456, allocations: 103.9 kB / 397.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08457, allocations: 0 / 397.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.08467, allocations: 51.92 kB / 397.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.08489, allocations: 25.62 kB / 397.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.08549, allocations: 309.1 kB / 398 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.08576, allocations: 0.7205 MB / 398.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.08582, allocations: 17.36 kB / 398.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.08585, allocations: 15.44 kB / 398.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08586, allocations: 0 / 398.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Templates: time 0.003403/0.08926, allocations: 1.221 MB / 400 MB, free: 13.02 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: