Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004712/0.004712, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001416/0.001416, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 11.19 MB / 301.7 MB, free: 1.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 63.91 kB / 417.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2434, allocations: 51.98 MB / 469.3 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002477/0.2459, allocations: 1.877 MB / 471.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.2469, allocations: 0.6837 MB / 471.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.247, allocations: 13.12 kB / 471.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.2472, allocations: 24.64 kB / 471.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2473, allocations: 45.52 kB / 472 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.2476, allocations: 134.9 kB / 472.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.248, allocations: 291.8 kB / 472.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2481, allocations: 64.89 kB / 472.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2482, allocations: 121.9 kB / 472.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2484, allocations: 122.5 kB / 472.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.2484, allocations: 19.75 kB / 472.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.2485, allocations: 21.22 kB / 472.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.2486, allocations: 52.06 kB / 472.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.2486, allocations: 108 kB / 472.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.2489, allocations: 240.6 kB / 473.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2489, allocations: 3.938 kB / 473.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2489, allocations: 0 / 473.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2489, allocations: 1.781 kB / 473.1 MB, free: 14.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009363/0.2498, allocations: 0.6134 MB / 473.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2499, allocations: 13.48 kB / 473.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.2499, allocations: 51.62 kB / 473.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.25, allocations: 33.25 kB / 473.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.2503, allocations: 325.1 kB / 474.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.2504, allocations: 95.64 kB / 474.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.2505, allocations: 19.8 kB / 474.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.2509, allocations: 199.8 kB / 474.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2509, allocations: 4 kB / 474.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.251, allocations: 7.156 kB / 474.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.251, allocations: 4.125 kB / 474.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.2515, allocations: 167.2 kB / 474.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2527, allocations: 0.7196 MB / 475.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.2532, allocations: 166.8 kB / 475.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2534, allocations: 95.44 kB / 475.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2535, allocations: 5.719 kB / 475.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.2538, allocations: 167.8 kB / 475.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2539, allocations: 0 / 475.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008942/0.2548, allocations: 331.2 kB / 476.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2548, allocations: 58.16 kB / 476.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2549, allocations: 233.1 kB / 476.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.255, allocations: 32.14 kB / 476.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.255, allocations: 148 kB / 476.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2551, allocations: 57.28 kB / 476.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.2552, allocations: 51.38 kB / 476.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.2552, allocations: 336 kB / 477 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.2555, allocations: 97.14 kB / 477.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.2558, allocations: 124.5 kB / 477.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.2563, allocations: 231.8 kB / 477.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2563, allocations: 1.094 kB / 477.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000679/0.257, allocations: 312.5 kB / 477.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.2571, allocations: 40.62 kB / 477.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2571, allocations: 1.438 kB / 477.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2571, allocations: 1.438 kB / 477.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.2585, allocations: 123.9 kB / 477.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.2601, allocations: 2.883 MB / 480.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2603, allocations: 36.42 kB / 480.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.2604, allocations: 13.23 kB / 480.8 MB, free: 7.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.2605, allocations: 140.2 kB / 481 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.2605, allocations: 21.95 kB / 481 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.2612, allocations: 281.5 kB / 481.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2612, allocations: 1.156 kB / 481.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.2612, allocations: 1.219 kB / 481.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2612, allocations: 0 / 481.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/0.2621, allocations: 0.6394 MB / 481.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2622, allocations: 0 / 481.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.2634, allocations: 108.2 kB / 482 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2634, allocations: 1.125 kB / 482 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2635, allocations: 10.08 kB / 482 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2635, allocations: 8.938 kB / 482 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2635, allocations: 0 / 482 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.2644, allocations: 455.1 kB / 482.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.2644, allocations: 99 kB / 482.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.2644, allocations: 13.12 kB / 482.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.2647, allocations: 25.69 kB / 482.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.2648, allocations: 30.44 kB / 482.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2648, allocations: 3.469 kB / 482.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2649, allocations: 163.3 kB / 482.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2649, allocations: 0 / 482.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000302/0.2652, allocations: 47.98 kB / 482.9 MB, free: 6.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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.001064/0.2663, allocations: 1.001 MB / 483.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.2672, allocations: 306.2 kB / 484.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2672, allocations: 0 / 484.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.2675, allocations: 110.4 kB / 484.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2679, allocations: 36.19 kB / 484.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.271, allocations: 2.574 MB / 486.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2712, allocations: 0.747 MB / 487.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.2713, allocations: 27.94 kB / 487.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.2714, allocations: 73.45 kB / 487.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2714, allocations: 0 / 487.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/0.3315, allocations: 5.129 MB / 492.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.87, allocations: 9.234 kB / 492.9 MB, free: 15.89 MB / 366.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)