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: 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004375/0.004374, allocations: 180 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06178/0.06178, allocations: 10.59 MB / 18.46 MB, free: 2.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.2 MB / 226.5 MB, free: 0.5156 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.001158/0.001158, allocations: 96.3 kB / 276.9 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.158e-06, allocations: 0 / 332.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3889, allocations: 49.99 MB / 382.9 MB, free: 39.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.5107, allocations: 76.55 MB / 459.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/0.5112, allocations: 67.97 kB / 459.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.006361/0.5176, allocations: 2.099 MB / 461.6 MB, free: 9.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5176, allocations: 0 / 461.6 MB, free: 9.262 MB / 346.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.000558/0.5182, allocations: 390.1 kB / 462 MB, free: 8.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5183, allocations: 8.031 kB / 462 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.5183, allocations: 15.81 kB / 462 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.5186, allocations: 206.9 kB / 462.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5186, allocations: 11.66 kB / 462.3 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5187, allocations: 4 kB / 462.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001359/0.5188, allocations: 32 kB / 462.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.519, allocations: 81.56 kB / 462.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.519, allocations: 0 / 462.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.519, allocations: 0 / 462.4 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.519, allocations: 4 kB / 462.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.5196, allocations: 337.1 kB / 462.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.5198, allocations: 98.55 kB / 462.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.5199, allocations: 50.34 kB / 462.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5199, allocations: 4 kB / 462.9 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.5201, allocations: 95.5 kB / 462.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.5201, allocations: 0 / 462.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004231/0.5205, allocations: 141.4 kB / 463.1 MB, free: 7.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5206, allocations: 59.41 kB / 463.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5207, allocations: 147.4 kB / 463.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5208, allocations: 25.7 kB / 463.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.5208, allocations: 104 kB / 463.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.5209, allocations: 35.55 kB / 463.5 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.5209, allocations: 4 kB / 463.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.521, allocations: 322.7 kB / 463.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.5211, allocations: 24 kB / 463.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5212, allocations: 81.95 kB / 463.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.5213, allocations: 34.05 kB / 463.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5213, allocations: 0 / 463.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001937/0.5215, allocations: 139.3 kB / 464 MB, free: 6.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5215, allocations: 4 kB / 464 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5215, allocations: 4 kB / 464.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5215, allocations: 0 / 464.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.5217, allocations: 27.98 kB / 464.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5217, allocations: 7.938 kB / 464.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.5218, allocations: 12.09 kB / 464.1 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5218, allocations: 8 kB / 464.1 MB, free: 6.57 MB / 346.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.646e-05/0.5219, allocations: 114.8 kB / 464.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.522, allocations: 16.03 kB / 464.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.522, allocations: 13.47 kB / 464.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.522, allocations: 3.938 kB / 464.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.522, allocations: 0 / 464.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.522, allocations: 0 / 464.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5226, allocations: 414.9 kB / 464.7 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5226, allocations: 0 / 464.7 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.5227, allocations: 19.98 kB / 464.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5227, allocations: 4 kB / 464.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5228, allocations: 7.984 kB / 464.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5228, allocations: 0 / 464.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5228, allocations: 7.906 kB / 464.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004528/0.5232, allocations: 290.9 kB / 465 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.5233, allocations: 85.02 kB / 465.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.5234, allocations: 11.89 kB / 465.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.5234, allocations: 4 kB / 465.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.5235, allocations: 7.984 kB / 465.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.5235, allocations: 4 kB / 465.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001028/0.5236, allocations: 116 kB / 465.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.5239, allocations: 32.12 kB / 465.2 MB, free: 5.363 MB / 346.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.0001647/0.5241, allocations: 116.3 kB / 465.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.5243, allocations: 83.88 kB / 465.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5243, allocations: 0 / 465.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.5244, allocations: 43.45 kB / 465.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.5246, allocations: 27.06 kB / 465.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.5253, allocations: 220 kB / 465.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.5257, allocations: 0.7236 MB / 466.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5257, allocations: 0 / 466.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of Templates: time 0.004169/0.5299, allocations: 1.265 MB / 467.7 MB, free: 2.875 MB / 346.7 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile (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)