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.001137/0.001137, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001217/0.001217, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.364/1.364, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0544/0.0544, allocations: 10.75 MB / 280.2 MB, free: 10.67 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.001295/0.001295, allocations: 59.91 kB / 340 MB, free: 23.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09378, allocations: 49.01 MB / 389 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003161/0.09702, allocations: 1.907 MB / 390.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.09817, allocations: 0.6032 MB / 391.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.09825, allocations: 3.938 kB / 391.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.075e-05/0.09832, allocations: 11.86 kB / 391.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.09845, allocations: 19.81 kB / 391.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.09894, allocations: 151.7 kB / 391.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.0992, allocations: 207.4 kB / 391.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.09936, allocations: 44.66 kB / 392 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.09945, allocations: 87.52 kB / 392.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.09957, allocations: 103.4 kB / 392.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.09961, allocations: 20 kB / 392.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.09983, allocations: 155.9 kB / 392.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.09989, allocations: 55.75 kB / 392.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.09998, allocations: 95.41 kB / 392.5 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1003, allocations: 307 kB / 392.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1003, allocations: 0 / 392.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1003, allocations: 0 / 392.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1004, allocations: 7.938 kB / 392.8 MB, free: 2.852 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.0008307/0.1012, allocations: 0.5529 MB / 393.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1012, allocations: 11.89 kB / 393.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.1013, allocations: 32.59 kB / 393.4 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1016, allocations: 275.5 kB / 393.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1016, allocations: 12.38 kB / 393.7 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1017, allocations: 16.38 kB / 393.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.102, allocations: 175 kB / 393.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.102, allocations: 192 / 393.9 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.102, allocations: 7.938 kB / 393.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.102, allocations: 4 kB / 393.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1022, allocations: 67.89 kB / 393.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.1031, allocations: 0.5236 MB / 394.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1034, allocations: 134.6 kB / 394.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1035, allocations: 60.83 kB / 394.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1035, allocations: 4 kB / 394.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.1038, allocations: 147.3 kB / 394.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.654e-06/0.1038, allocations: 0 / 394.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005399/0.1043, allocations: 264.7 kB / 395.1 MB, free: 408 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.1044, allocations: 158.2 kB / 395.2 MB, free: 212 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1047, allocations: 270.5 kB / 395.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1047, allocations: 37.64 kB / 395.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.1048, allocations: 152.4 kB / 395.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.1049, allocations: 67.09 kB / 395.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.105, allocations: 57.97 kB / 395.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1051, allocations: 338.8 kB / 396.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1052, allocations: 56.25 kB / 396.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1054, allocations: 181.7 kB / 396.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1057, allocations: 249.4 kB / 396.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1057, allocations: 0 / 396.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003922/0.1061, allocations: 265 kB / 396.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1061, allocations: 14.64 kB / 396.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1062, allocations: 4 kB / 396.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1062, allocations: 4.469 kB / 396.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1064, allocations: 63.84 kB / 396.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1065, allocations: 4 kB / 396.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1066, allocations: 31.69 kB / 397 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1067, allocations: 12 kB / 397 MB, free: 14.29 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 (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.0001741/0.1068, allocations: 149.5 kB / 397.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.1069, allocations: 23.72 kB / 397.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.107, allocations: 34.17 kB / 397.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.107, allocations: 11.97 kB / 397.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.107, allocations: 0 / 397.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.107, allocations: 7.938 kB / 397.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.1076, allocations: 0.5451 MB / 397.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1076, allocations: 0 / 397.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1079, allocations: 35.97 kB / 397.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1079, allocations: 0 / 397.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1079, allocations: 15.88 kB / 397.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1079, allocations: 0 / 397.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1079, allocations: 0 / 397.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.1085, allocations: 386.6 kB / 398.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1086, allocations: 108.7 kB / 398.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1086, allocations: 12 kB / 398.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1088, allocations: 11.98 kB / 398.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1088, allocations: 15.98 kB / 398.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1089, allocations: 8 kB / 398.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.109, allocations: 186 kB / 398.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.109, allocations: 4 kB / 398.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1094, allocations: 75.98 kB / 398.6 MB, free: 12.57 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 (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.0002139/0.1096, allocations: 156.2 kB / 398.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.11, allocations: 179.7 kB / 398.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.11, allocations: 0 / 398.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1101, allocations: 75.89 kB / 399 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1106, allocations: 52.52 kB / 399 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1116, allocations: 0.5743 MB / 399.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1119, allocations: 0.7518 MB / 400.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.112, allocations: 34.22 kB / 400.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1121, allocations: 23.44 kB / 400.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1121, allocations: 0 / 400.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Templates: time 0.005784/0.1179, allocations: 3.009 MB / 403.4 MB, free: 7.676 MB / 302.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)