Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",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.001103/0.001103, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001104/0.001104, allocations: 177.3 kB / 15.95 MB, free: 216 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.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05516/0.05516, allocations: 10.73 MB / 281.1 MB, free: 10.57 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.0005392/0.0005388, allocations: 18.97 kB / 341.7 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1104, allocations: 50.01 MB / 391.7 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002595/0.113, allocations: 1.793 MB / 393.5 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1146, allocations: 0.9715 MB / 394.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1147, allocations: 11.88 kB / 394.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.115, allocations: 55.67 kB / 394.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1151, allocations: 63.78 kB / 394.6 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.1158, allocations: 243.4 kB / 394.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.1163, allocations: 340.9 kB / 395.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1165, allocations: 72.97 kB / 395.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.1167, allocations: 183.3 kB / 395.4 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.117, allocations: 199.2 kB / 395.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.1171, allocations: 20 kB / 395.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1172, allocations: 79.92 kB / 395.7 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1174, allocations: 135.6 kB / 395.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1175, allocations: 93.39 kB / 395.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.1179, allocations: 351.5 kB / 396.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1179, allocations: 0 / 396.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.118, allocations: 0 / 396.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.118, allocations: 0 / 396.3 MB, free: 1.094 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001372/0.1193, allocations: 0.7655 MB / 397 MB, free: 280 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1194, allocations: 8.031 kB / 397 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.1195, allocations: 86.47 kB / 397.1 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/0.1196, allocations: 67.19 kB / 397.2 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.1203, allocations: 392.9 kB / 397.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.1203, allocations: 29 kB / 397.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.1204, allocations: 43.91 kB / 397.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.1212, allocations: 0.5005 MB / 398.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.1213, allocations: 7.906 kB / 398.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.1213, allocations: 27.92 kB / 398.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.1214, allocations: 15.95 kB / 398.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.1221, allocations: 395.7 kB / 398.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.125, allocations: 1.802 MB / 400.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1255, allocations: 273 kB / 400.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1256, allocations: 4 kB / 400.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.126, allocations: 265 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.126, allocations: 4 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001121/0.1271, allocations: 0.6533 MB / 401.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1272, allocations: 85.11 kB / 401.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.1278, allocations: 485.8 kB / 402.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.1278, allocations: 33.7 kB / 402.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1281, allocations: 272 kB / 402.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1283, allocations: 146 kB / 402.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.1283, allocations: 8 kB / 402.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.1285, allocations: 370.8 kB / 402.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1288, allocations: 161.1 kB / 403.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.1292, allocations: 333.7 kB / 403.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.1296, allocations: 263 kB / 403.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1297, allocations: 4 kB / 403.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001096/0.1308, allocations: 0.7221 MB / 404.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.1308, allocations: 37.69 kB / 404.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1309, allocations: 4.656 kB / 404.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.1309, allocations: 12 kB / 404.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.1314, allocations: 139.7 kB / 404.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.1314, allocations: 8 kB / 404.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1317, allocations: 67.36 kB / 404.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.1318, allocations: 24 kB / 404.7 MB, free: 8.266 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0004214/0.1322, allocations: 278.4 kB / 405 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1323, allocations: 55.38 kB / 405 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008806/0.1331, allocations: 0.5217 MB / 405.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1332, allocations: 4 kB / 405.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1332, allocations: 4 kB / 405.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1332, allocations: 0 / 405.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.1338, allocations: 469.1 kB / 406 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1338, allocations: 0 / 406 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.1342, allocations: 99.81 kB / 406.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1343, allocations: 0 / 406.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.1343, allocations: 19.94 kB / 406.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1343, allocations: 0 / 406.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1343, allocations: 0 / 406.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1354, allocations: 0.7275 MB / 406.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1356, allocations: 128.5 kB / 407 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.1356, allocations: 19.98 kB / 407 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1358, allocations: 19.94 kB / 407 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1359, allocations: 23.97 kB / 407 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.1359, allocations: 8 kB / 407 MB, free: 5.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003908/0.1363, allocations: 327.1 kB / 407.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 407.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.1368, allocations: 115.8 kB / 407.5 MB, free: 5.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001493/0.1383, allocations: 1.3 MB / 408.8 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008315/0.1391, allocations: 0.5441 MB / 409.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1391, allocations: 0 / 409.3 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.1395, allocations: 272.1 kB / 409.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1398, allocations: 53.84 kB / 409.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.147, allocations: 6.795 MB / 416.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.1477, allocations: 0.8937 MB / 417.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.148, allocations: 108.3 kB / 417.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.1482, allocations: 179.4 kB / 417.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of SimCode: time 1.724e-06/0.1483, allocations: 3.938 kB / 417.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1707, allocations: 8.617 MB / 426.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.1709, allocations: 193.8 kB / 426.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.034, allocations: 3.938 kB / 426.4 MB, free: 2.211 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) Environment - environmentSimulation: