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.00813/0.00813, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001499/0.001499, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.818/1.818, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06056/0.06056, allocations: 10.74 MB / 280.6 MB, free: 1.281 MB / 222.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.001698/0.001698, allocations: 68.91 kB / 390.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1214, allocations: 49.03 MB / 439.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003176/0.1247, allocations: 1.841 MB / 441.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1258, allocations: 0.603 MB / 442.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1259, allocations: 8 kB / 442.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.335e-05/0.1259, allocations: 15.75 kB / 442.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1261, allocations: 39.61 kB / 442.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.1268, allocations: 187.4 kB / 442.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.1271, allocations: 207.4 kB / 442.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1273, allocations: 44.39 kB / 442.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1274, allocations: 91.5 kB / 442.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1276, allocations: 99.41 kB / 443 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1276, allocations: 20 kB / 443 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.1279, allocations: 155.8 kB / 443.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.1279, allocations: 59.75 kB / 443.2 MB, free: 448 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.128, allocations: 91.41 kB / 443.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1284, allocations: 314.7 kB / 443.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1284, allocations: 0 / 443.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1284, allocations: 0 / 443.6 MB, free: 40 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1284, allocations: 0 / 443.6 MB, free: 40 kB / 318.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.0009742/0.1294, allocations: 0.5721 MB / 444.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1295, allocations: 11.89 kB / 444.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.1296, allocations: 36.69 kB / 444.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1298, allocations: 259.9 kB / 444.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1299, allocations: 12.38 kB / 444.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1299, allocations: 20.33 kB / 444.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1303, allocations: 178.4 kB / 444.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1303, allocations: 192 / 444.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1303, allocations: 11.94 kB / 444.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1303, allocations: 3.984 kB / 444.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1305, allocations: 67.89 kB / 444.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.1314, allocations: 0.5198 MB / 445.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.1318, allocations: 134.6 kB / 445.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1319, allocations: 64.83 kB / 445.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.132, allocations: 4 kB / 445.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.1323, allocations: 142.6 kB / 445.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1323, allocations: 0 / 445.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005705/0.1329, allocations: 265.4 kB / 445.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.133, allocations: 162.2 kB / 446 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.1333, allocations: 266.6 kB / 446.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.1334, allocations: 37.7 kB / 446.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1335, allocations: 152.5 kB / 446.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1336, allocations: 67.47 kB / 446.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1337, allocations: 61.97 kB / 446.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1339, allocations: 334.8 kB / 446.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.134, allocations: 60.11 kB / 447 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.1343, allocations: 185.6 kB / 447.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.1347, allocations: 237.5 kB / 447.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1348, allocations: 4 kB / 447.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004334/0.1352, allocations: 271.9 kB / 447.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1352, allocations: 8.469 kB / 447.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1352, allocations: 11.98 kB / 447.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1353, allocations: 4 kB / 447.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1355, allocations: 59.91 kB / 447.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1356, allocations: 7.938 kB / 447.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1357, allocations: 35.72 kB / 447.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1358, allocations: 12 kB / 447.8 MB, free: 11.44 MB / 334.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 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.136, allocations: 145.7 kB / 448 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.136, allocations: 31.81 kB / 448 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1361, allocations: 30.17 kB / 448 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1361, allocations: 0 / 448 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1361, allocations: 0 / 448 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1362, allocations: 7.938 kB / 448 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.1368, allocations: 0.5407 MB / 448.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1369, allocations: 0 / 448.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1371, allocations: 43.91 kB / 448.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1371, allocations: 4 kB / 448.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1371, allocations: 7.938 kB / 448.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1371, allocations: 0 / 448.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1371, allocations: 0 / 448.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.1377, allocations: 387.2 kB / 449 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1379, allocations: 104.9 kB / 449.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.1379, allocations: 12.12 kB / 449.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1381, allocations: 23.92 kB / 449.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1382, allocations: 11.98 kB / 449.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1382, allocations: 4 kB / 449.2 MB, free: 10 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1384, allocations: 190 kB / 449.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 3.938 kB / 449.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1388, allocations: 83.8 kB / 449.4 MB, free: 9.734 MB / 334.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 (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.0002668/0.139, allocations: 159.1 kB / 449.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1394, allocations: 171.8 kB / 449.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1394, allocations: 0 / 449.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1396, allocations: 75.86 kB / 449.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.14, allocations: 62.09 kB / 449.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1412, allocations: 0.5181 MB / 450.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1416, allocations: 0.7477 MB / 451.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1417, allocations: 30.28 kB / 451.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1418, allocations: 27.42 kB / 451.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1418, allocations: 3.938 kB / 451.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of Templates: time 0.006939/0.1487, allocations: 3.069 MB / 454.3 MB, free: 4.848 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile (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)