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.001439/0.001439, allocations: 116 kB / 16.42 MB, free: 6.488 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.001703/0.001703, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0608/0.0608, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001572/0.001572, allocations: 71.73 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07447/0.07605, allocations: 49.03 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002687/0.07877, allocations: 1.84 MB / 442.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.07972, allocations: 0.603 MB / 443 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.07986, allocations: 4 kB / 443 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.07992, allocations: 23.67 kB / 443 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.08011, allocations: 39.61 kB / 443 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.08068, allocations: 179.5 kB / 443.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.0809, allocations: 211.4 kB / 443.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.08106, allocations: 40.38 kB / 443.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.08115, allocations: 91.52 kB / 443.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.08126, allocations: 99.47 kB / 443.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.0813, allocations: 20 kB / 443.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.08152, allocations: 159.8 kB / 443.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.08157, allocations: 55.7 kB / 443.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.08165, allocations: 95.39 kB / 444 MB, free: 368 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.08198, allocations: 303.1 kB / 444.3 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.082, allocations: 0 / 444.3 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08201, allocations: 0 / 444.3 MB, free: 64 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.08202, allocations: 0 / 444.3 MB, free: 64 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.0009915/0.08301, allocations: 0.5723 MB / 444.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.08306, allocations: 11.89 kB / 444.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.08315, allocations: 28.66 kB / 444.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.08344, allocations: 259.7 kB / 445.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.08347, allocations: 16.36 kB / 445.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.08351, allocations: 16.28 kB / 445.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.08384, allocations: 182.4 kB / 445.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.08387, allocations: 192 / 445.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.08389, allocations: 3.938 kB / 445.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.08391, allocations: 4 kB / 445.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.08409, allocations: 71.89 kB / 445.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.08504, allocations: 0.5081 MB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.08534, allocations: 138.6 kB / 446.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.08549, allocations: 64.83 kB / 446.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.08551, allocations: 0 / 446.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.08581, allocations: 150.4 kB / 446.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.08582, allocations: 4 kB / 446.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005597/0.08639, allocations: 261.3 kB / 446.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.08649, allocations: 174.2 kB / 446.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.08673, allocations: 258.7 kB / 447 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.08677, allocations: 33.7 kB / 447 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.08687, allocations: 148.4 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.08694, allocations: 59.19 kB / 447.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.08703, allocations: 53.98 kB / 447.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.08718, allocations: 346.8 kB / 447.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.0873, allocations: 52.11 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.08754, allocations: 193.6 kB / 447.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.08789, allocations: 237.5 kB / 448.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.08791, allocations: 8 kB / 448.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005317/0.08845, allocations: 284 kB / 448.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.08848, allocations: 8 kB / 448.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.0885, allocations: 0 / 448.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.08853, allocations: 8 kB / 448.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.08879, allocations: 59.91 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.08882, allocations: 7.984 kB / 448.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.08901, allocations: 31.67 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.08903, allocations: 12 kB / 448.5 MB, free: 11.48 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.0001853/0.08923, allocations: 157.7 kB / 448.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.08927, allocations: 23.72 kB / 448.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.08935, allocations: 30.17 kB / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.08936, allocations: 0 / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.08937, allocations: 0 / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.08943, allocations: 100.8 kB / 448.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.08948, allocations: 8 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.08963, allocations: 15.98 kB / 448.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.08971, allocations: 12.03 kB / 448.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007396/0.09046, allocations: 332.1 kB / 449.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006297/0.0911, allocations: 482.2 kB / 449.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001362/0.09125, allocations: 68.03 kB / 449.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.09142, allocations: 186 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.09143, allocations: 0 / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006908/0.09212, allocations: 250.3 kB / 450.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of SimCode: time 0.001014/0.09315, allocations: 0.8924 MB / 451 MB, free: 8.855 MB / 334.1 MB Notification: Performance of Templates: time 0.007202/0.1004, allocations: 3.368 MB / 454.4 MB, free: 5.5 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)