Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008829, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009296/0.0009297, allocations: 172.7 kB / 15.95 MB, free: 208 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.613/1.613, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.055/0.055, allocations: 10.73 MB / 281.1 MB, free: 10.55 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.0006217/0.0006222, allocations: 14.97 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1074, allocations: 50.01 MB / 391.6 MB, free: 5.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002043/0.1095, allocations: 1.503 MB / 393.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1107, allocations: 0.5608 MB / 393.7 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1108, allocations: 0 / 393.7 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.1109, allocations: 11.81 kB / 393.7 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.111, allocations: 23.81 kB / 393.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.1116, allocations: 139.7 kB / 393.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.1119, allocations: 179.5 kB / 394 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1121, allocations: 40.38 kB / 394.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1122, allocations: 67.59 kB / 394.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1123, allocations: 95.41 kB / 394.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.1124, allocations: 11.98 kB / 394.2 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.1126, allocations: 135.9 kB / 394.4 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.1127, allocations: 35.83 kB / 394.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.1128, allocations: 57.58 kB / 394.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.113, allocations: 211.6 kB / 394.7 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1131, allocations: 7.938 kB / 394.7 MB, free: 2.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1131, allocations: 0 / 394.7 MB, free: 2.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1131, allocations: 0 / 394.7 MB, free: 2.68 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00077/0.1139, allocations: 0.5136 MB / 395.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1139, allocations: 8.031 kB / 395.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.114, allocations: 39.66 kB / 395.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1143, allocations: 254.5 kB / 395.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1143, allocations: 15.98 kB / 395.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1143, allocations: 12 kB / 395.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.1147, allocations: 174.7 kB / 395.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1147, allocations: 7.938 kB / 395.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1147, allocations: 7.984 kB / 395.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1147, allocations: 4 kB / 395.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1149, allocations: 59.97 kB / 395.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.1159, allocations: 0.5314 MB / 396.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.1163, allocations: 146.6 kB / 396.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1164, allocations: 60.83 kB / 396.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1165, allocations: 0 / 396.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.1168, allocations: 159.3 kB / 396.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.1168, allocations: 0 / 396.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006339/0.1175, allocations: 265.2 kB / 396.9 MB, free: 264 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.1177, allocations: 162.2 kB / 397.1 MB, free: 64 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.118, allocations: 254.7 kB / 397.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.118, allocations: 37.7 kB / 397.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1182, allocations: 156.4 kB / 397.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.1183, allocations: 59.11 kB / 397.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.1183, allocations: 11.94 kB / 397.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1185, allocations: 338.8 kB / 397.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1186, allocations: 56.25 kB / 398 MB, free: 15.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1189, allocations: 189.5 kB / 398.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1191, allocations: 91.92 kB / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1191, allocations: 0 / 398.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004749/0.1196, allocations: 277.3 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1196, allocations: 4 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1196, allocations: 4 kB / 398.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1196, allocations: 8 kB / 398.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.1199, allocations: 59.91 kB / 398.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1199, allocations: 4 kB / 398.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1201, allocations: 31.78 kB / 398.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1201, allocations: 12 kB / 398.6 MB, free: 14.4 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) 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: 16 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001968/0.1203, allocations: 145.8 kB / 398.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1204, allocations: 23.72 kB / 398.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.1204, allocations: 30.17 kB / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1204, allocations: 0 / 398.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1205, allocations: 4 kB / 398.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1205, allocations: 0 / 398.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.1212, allocations: 0.5601 MB / 399.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1212, allocations: 0 / 399.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1214, allocations: 43.91 kB / 399.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1214, allocations: 0 / 399.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1214, allocations: 4 kB / 399.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1215, allocations: 0 / 399.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1215, allocations: 7.984 kB / 399.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.1221, allocations: 395 kB / 399.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1221, allocations: 108.7 kB / 399.9 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.1222, allocations: 8.062 kB / 400 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1224, allocations: 15.98 kB / 400 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1224, allocations: 7.984 kB / 400 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.1225, allocations: 15.98 kB / 400 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1226, allocations: 185.9 kB / 400.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1226, allocations: 0 / 400.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.1231, allocations: 79.98 kB / 400.3 MB, free: 12.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002441/0.1233, allocations: 155.2 kB / 400.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1237, allocations: 171.9 kB / 400.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1237, allocations: 0 / 400.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1239, allocations: 75.34 kB / 400.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1243, allocations: 59.11 kB / 400.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1254, allocations: 0.5647 MB / 401.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1258, allocations: 0.7482 MB / 402 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.126, allocations: 34.31 kB / 402 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.126, allocations: 19.44 kB / 402.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.126, allocations: 0 / 402.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Templates: time 0.006862/0.1329, allocations: 2.784 MB / 404.9 MB, free: 8.035 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) Environment - environmentSimulation: