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/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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008612/0.0008614, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006637/0.006638, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05494/0.05494, allocations: 10.75 MB / 281.5 MB, free: 10.44 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.000508/0.0005078, allocations: 12.22 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 50.01 MB / 392.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.001863/0.1129, allocations: 1.308 MB / 393.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.1134, allocations: 255.2 kB / 393.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1135, allocations: 0 / 393.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.1135, allocations: 3.938 kB / 393.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.1137, allocations: 19.86 kB / 393.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1139, allocations: 51.89 kB / 393.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1141, allocations: 99.69 kB / 394 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1143, allocations: 13.45 kB / 394 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.1143, allocations: 35.84 kB / 394 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.1144, allocations: 51.64 kB / 394.1 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1144, allocations: 8 kB / 394.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1145, allocations: 23.98 kB / 394.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.1146, allocations: 23.91 kB / 394.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.1146, allocations: 69.38 kB / 394.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1148, allocations: 103.6 kB / 394.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1148, allocations: 4 kB / 394.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1148, allocations: 0 / 394.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1148, allocations: 0 / 394.3 MB, free: 3.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006195/0.1154, allocations: 411 kB / 394.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1155, allocations: 12.03 kB / 394.7 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1155, allocations: 12.75 kB / 394.7 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1158, allocations: 212.6 kB / 394.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1158, allocations: 8.375 kB / 394.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1158, allocations: 8.375 kB / 394.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.116, allocations: 90.2 kB / 395 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1161, allocations: 192 / 395 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1161, allocations: 3.938 kB / 395 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1161, allocations: 8 kB / 395 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1162, allocations: 51.91 kB / 395.1 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.1169, allocations: 384.5 kB / 395.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1171, allocations: 114.5 kB / 395.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1172, allocations: 52.84 kB / 395.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1172, allocations: 4 kB / 395.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1175, allocations: 115.3 kB / 395.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1175, allocations: 0 / 395.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004362/0.1179, allocations: 193.4 kB / 395.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.118, allocations: 51.41 kB / 396 MB, free: 1.461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1182, allocations: 171.3 kB / 396.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1182, allocations: 37.69 kB / 396.2 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1183, allocations: 108 kB / 396.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1183, allocations: 39.58 kB / 396.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1184, allocations: 29.7 kB / 396.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1185, allocations: 326.8 kB / 396.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.1186, allocations: 35.98 kB / 396.7 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.1187, allocations: 85.94 kB / 396.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1189, allocations: 129.9 kB / 396.9 MB, free: 448 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.119, allocations: 0 / 396.9 MB, free: 448 kB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002905/0.1193, allocations: 161.5 kB / 397.1 MB, free: 280 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.1193, allocations: 8 kB / 397.1 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1193, allocations: 3.984 kB / 397.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/0.1194, allocations: 4 kB / 397.1 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.1195, allocations: 35.92 kB / 397.1 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1195, allocations: 3.984 kB / 397.1 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.1196, allocations: 15.84 kB / 397.2 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1196, allocations: 8 kB / 397.2 MB, free: 200 kB / 286.1 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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1198, allocations: 136.8 kB / 397.3 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1198, allocations: 7.906 kB / 397.3 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.1198, allocations: 17.52 kB / 397.3 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1198, allocations: 4 kB / 397.3 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1199, allocations: 0 / 397.3 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1199, allocations: 0 / 397.3 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.1204, allocations: 454.2 kB / 397.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1204, allocations: 0 / 397.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.1205, allocations: 12 kB / 397.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1205, allocations: 7.984 kB / 397.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1205, allocations: 7.984 kB / 397.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1205, allocations: 3.938 kB / 397.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1205, allocations: 3.938 kB / 397.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.121, allocations: 304 kB / 398.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.121, allocations: 89.03 kB / 398.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1211, allocations: 8 kB / 398.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.1212, allocations: 4 kB / 398.2 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1212, allocations: 15.92 kB / 398.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1212, allocations: 4 kB / 398.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1213, allocations: 131.9 kB / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1213, allocations: 0 / 398.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1216, allocations: 32 kB / 398.4 MB, free: 14.88 MB / 302.1 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) * Number of clocked states: 0 () * 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 (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.0001362/0.1218, allocations: 103.2 kB / 398.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.122, allocations: 108.1 kB / 398.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.122, allocations: 4.062 kB / 398.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1222, allocations: 47.98 kB / 398.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1225, allocations: 29.61 kB / 398.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.1232, allocations: 320.1 kB / 399 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1236, allocations: 0.7088 MB / 399.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1237, allocations: 21.42 kB / 399.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1237, allocations: 19.38 kB / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1238, allocations: 0 / 399.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Templates: time 0.004231/0.128, allocations: 1.261 MB / 401 MB, free: 12.21 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: