Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_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.0008634/0.0008633, allocations: 99.86 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.0009315/0.0009313, allocations: 177.3 kB / 15.94 MB, free: 228 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.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05427/0.05427, allocations: 10.73 MB / 281.1 MB, free: 10.45 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.0005016/0.0005016, allocations: 12 kB / 341.7 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 50 MB / 391.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002284/0.1107, allocations: 1.734 MB / 393.4 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.1117, allocations: 482.8 kB / 393.9 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1118, allocations: 11.88 kB / 393.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.112, allocations: 39.7 kB / 393.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.1121, allocations: 27.91 kB / 394 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.1126, allocations: 183.6 kB / 394.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.113, allocations: 287.7 kB / 394.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1131, allocations: 76.64 kB / 394.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1133, allocations: 147.4 kB / 394.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1135, allocations: 151.3 kB / 394.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1136, allocations: 12 kB / 394.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.1136, allocations: 12 kB / 394.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1137, allocations: 99.7 kB / 394.9 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1138, allocations: 81.39 kB / 395 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1141, allocations: 255.7 kB / 395.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1141, allocations: 0 / 395.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1141, allocations: 0 / 395.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1141, allocations: 4 kB / 395.3 MB, free: 2.113 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001076/0.1152, allocations: 0.6584 MB / 395.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1152, allocations: 11.97 kB / 395.9 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.697e-05/0.1153, allocations: 74.53 kB / 396 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.766e-05/0.1154, allocations: 55.39 kB / 396 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.1159, allocations: 338.8 kB / 396.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.116, allocations: 80.06 kB / 396.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.1161, allocations: 35.91 kB / 396.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1169, allocations: 415.5 kB / 396.9 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.1169, allocations: 7.938 kB / 396.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.117, allocations: 19.98 kB / 396.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.117, allocations: 8 kB / 396.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.1176, allocations: 310.4 kB / 397.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.1204, allocations: 1.579 MB / 398.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.1209, allocations: 183.1 kB / 399 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1209, allocations: 4.188 kB / 399 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.121, allocations: 38.78 kB / 399 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.121, allocations: 0 / 399 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007607/0.1218, allocations: 352.1 kB / 399.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.1218, allocations: 55.41 kB / 399.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.1223, allocations: 401.4 kB / 399.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1223, allocations: 29.7 kB / 399.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1226, allocations: 232 kB / 400.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.1227, allocations: 90.8 kB / 400.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.1227, allocations: 4 kB / 400.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.1229, allocations: 354.8 kB / 400.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.1232, allocations: 104.7 kB / 400.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.1235, allocations: 220.8 kB / 400.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1238, allocations: 145.2 kB / 401 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1238, allocations: 7.938 kB / 401 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006884/0.1245, allocations: 447.9 kB / 401.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1245, allocations: 4 kB / 401.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1245, allocations: 4 kB / 401.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1246, allocations: 8 kB / 401.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.125, allocations: 95.88 kB / 401.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.125, allocations: 11.94 kB / 401.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1251, allocations: 51.77 kB / 401.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1252, allocations: 23.89 kB / 401.6 MB, free: 11.4 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (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 (48): * Single equations (assignments): 48 * 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 0.0002388/0.1254, allocations: 179.7 kB / 401.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.1255, allocations: 35.53 kB / 401.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.126, allocations: 320.7 kB / 402.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1261, allocations: 4 kB / 402.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1261, allocations: 0 / 402.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1261, allocations: 7.984 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.1265, allocations: 385.4 kB / 402.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1265, allocations: 0 / 402.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.1269, allocations: 71.88 kB / 402.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1269, allocations: 0 / 402.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.127, allocations: 8 kB / 402.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.127, allocations: 4 kB / 402.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.127, allocations: 3.984 kB / 402.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.1277, allocations: 0.5062 MB / 403.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1278, allocations: 116.7 kB / 403.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.1278, allocations: 11.94 kB / 403.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.128, allocations: 19.98 kB / 403.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.1281, allocations: 19.97 kB / 403.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1281, allocations: 4 kB / 403.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.1284, allocations: 271.1 kB / 403.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1284, allocations: 0 / 403.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.1287, allocations: 71.73 kB / 403.6 MB, free: 9.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0009875/0.1297, allocations: 1.045 MB / 404.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.1302, allocations: 291.7 kB / 405 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1302, allocations: 0 / 405 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1304, allocations: 128.7 kB / 405.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1307, allocations: 45.59 kB / 405.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.1351, allocations: 4.715 MB / 409.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.1356, allocations: 0.8419 MB / 410.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1358, allocations: 75.22 kB / 410.8 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.136, allocations: 135.4 kB / 410.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.635e-06/0.136, allocations: 112 / 410.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.1558, allocations: 6.002 MB / 416.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.156, allocations: 201.8 kB / 417.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.971, allocations: 0 / 417.1 MB, free: 11.7 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) Environment - environmentSimulation: