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: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0841/0.0841, allocations: 10.65 MB / 18.73 MB, free: 1.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 226.9 MB, free: 7.875 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.38 kB / 277.3 MB, free: 5.402 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.915e-05, allocations: 0 / 333.6 MB, free: 28.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 50 MB / 383.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6059, allocations: 76.95 MB / 460.6 MB, free: 7.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.6063, allocations: 74.08 kB / 460.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006023/0.6123, allocations: 2.4 MB / 463 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6123, allocations: 0 / 463 MB, free: 5.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.6124, allocations: 4 kB / 463 MB, free: 5.262 MB / 330.7 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.000477/0.6128, allocations: 397.4 kB / 463.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6129, allocations: 12.03 kB / 463.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.613, allocations: 19.77 kB / 463.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.6132, allocations: 208 kB / 463.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.6132, allocations: 4 kB / 463.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.6133, allocations: 4 kB / 463.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.401e-05/0.6134, allocations: 31.31 kB / 463.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.6135, allocations: 81.16 kB / 463.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6135, allocations: 0 / 463.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6136, allocations: 2.188 kB / 463.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6136, allocations: 3.953 kB / 463.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.6142, allocations: 355.5 kB / 464.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6143, allocations: 93.28 kB / 464.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.6144, allocations: 48.23 kB / 464.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6145, allocations: 4 kB / 464.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.6146, allocations: 90.7 kB / 464.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.6146, allocations: 4 kB / 464.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003985/0.615, allocations: 162.2 kB / 464.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.6151, allocations: 55.22 kB / 464.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6152, allocations: 150.6 kB / 464.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6153, allocations: 29.7 kB / 464.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.6153, allocations: 115.7 kB / 464.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.6154, allocations: 35.48 kB / 464.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6154, allocations: 0 / 464.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6155, allocations: 322.2 kB / 465.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.6156, allocations: 23.5 kB / 465.2 MB, free: 3.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.6156, allocations: 79.75 kB / 465.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.53e-05/0.6157, allocations: 27.42 kB / 465.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6157, allocations: 0 / 465.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001815/0.6159, allocations: 149.3 kB / 465.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6159, allocations: 4 kB / 465.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6159, allocations: 4 kB / 465.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.616, allocations: 4 kB / 465.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.6161, allocations: 27.92 kB / 465.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6161, allocations: 7.938 kB / 465.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.6162, allocations: 9 kB / 465.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.6162, allocations: 11.88 kB / 465.6 MB, free: 2.77 MB / 330.7 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 () * 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.637e-05/0.6163, allocations: 121 kB / 465.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002939/0.6166, allocations: 160.2 kB / 465.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.6166, allocations: 11.89 kB / 465.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.6167, allocations: 13.66 kB / 465.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6167, allocations: 4 kB / 465.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6167, allocations: 0 / 465.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6167, allocations: 0 / 465.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.6172, allocations: 437.2 kB / 466.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6172, allocations: 0 / 466.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.6173, allocations: 19.98 kB / 466.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6173, allocations: 0 / 466.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.6174, allocations: 0 / 466.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6174, allocations: 0 / 466.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6174, allocations: 7.984 kB / 466.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.6178, allocations: 299.7 kB / 466.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.6179, allocations: 88.95 kB / 466.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.6179, allocations: 3.984 kB / 466.7 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.618, allocations: 4 kB / 466.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.618, allocations: 7.984 kB / 466.7 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6181, allocations: 7.938 kB / 466.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.6182, allocations: 116.5 kB / 466.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6182, allocations: 0 / 466.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.6184, allocations: 31.94 kB / 466.9 MB, free: 1.512 MB / 330.7 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) * 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.0008613/0.6193, allocations: 0.8455 MB / 467.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.6195, allocations: 85.69 kB / 467.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6195, allocations: 0 / 467.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.6196, allocations: 41.19 kB / 467.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.6199, allocations: 33.69 kB / 467.9 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.6207, allocations: 247.6 kB / 468.1 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.6211, allocations: 0.7085 MB / 468.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.6212, allocations: 21.2 kB / 468.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.6213, allocations: 36.86 kB / 468.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6213, allocations: 0 / 468.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.6453, allocations: 2.251 MB / 471.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/0.6457, allocations: 169.1 kB / 471.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.486, allocations: 0 / 471.3 MB, free: 13.09 MB / 346.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1)