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: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008763/0.0008763, allocations: 168.7 kB / 15.95 MB, free: 204 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.182/1.182, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05278/0.05278, allocations: 10.75 MB / 281.1 MB, free: 10.54 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.0004573/0.0004573, allocations: 12 kB / 341.7 MB, free: 23.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06847/0.06893, allocations: 49.99 MB / 391.7 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.001703/0.07067, allocations: 1.507 MB / 393.2 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.07155, allocations: 0.5647 MB / 393.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.07165, allocations: 0 / 393.8 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.07169, allocations: 7.875 kB / 393.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.0718, allocations: 23.8 kB / 393.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.07222, allocations: 131.6 kB / 394 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.07245, allocations: 195.4 kB / 394.2 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.07256, allocations: 28.39 kB / 394.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.07264, allocations: 79.52 kB / 394.3 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.07275, allocations: 91.45 kB / 394.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.07279, allocations: 8 kB / 394.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.07299, allocations: 143.9 kB / 394.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.07304, allocations: 35.84 kB / 394.5 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.07309, allocations: 57.58 kB / 394.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.07331, allocations: 207.9 kB / 394.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.07332, allocations: 0 / 394.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.07333, allocations: 3.938 kB / 394.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.07334, allocations: 0 / 394.8 MB, free: 2.598 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.0006256/0.07397, allocations: 0.5212 MB / 395.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.07401, allocations: 8.031 kB / 395.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.07406, allocations: 46.55 kB / 395.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.07412, allocations: 31.67 kB / 395.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.07437, allocations: 254.5 kB / 395.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.07439, allocations: 12 kB / 395.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.07443, allocations: 12 kB / 395.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.07471, allocations: 190.6 kB / 395.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.07473, allocations: 0 / 395.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.07475, allocations: 4 kB / 395.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.07477, allocations: 4 kB / 395.9 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.07492, allocations: 67.92 kB / 395.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.07571, allocations: 0.5314 MB / 396.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.07597, allocations: 134.6 kB / 396.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.07609, allocations: 64.83 kB / 396.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.07611, allocations: 4 kB / 396.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.07636, allocations: 143.3 kB / 396.8 MB, free: 408 kB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.07637, allocations: 0 / 396.8 MB, free: 408 kB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004681/0.07685, allocations: 273.2 kB / 397.1 MB, free: 128 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.07693, allocations: 166.2 kB / 397.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.07715, allocations: 258.7 kB / 397.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.07719, allocations: 37.64 kB / 397.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.07728, allocations: 148.4 kB / 397.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.07733, allocations: 59.11 kB / 397.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.07735, allocations: 12 kB / 397.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.07745, allocations: 342.8 kB / 398.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.07757, allocations: 52.27 kB / 398.1 MB, free: 15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.07775, allocations: 189.6 kB / 398.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.07791, allocations: 79.92 kB / 398.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.07792, allocations: 0 / 398.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003969/0.07832, allocations: 272.9 kB / 398.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.07835, allocations: 11.94 kB / 398.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.07836, allocations: 4 kB / 398.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.07838, allocations: 4.047 kB / 398.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.07861, allocations: 68.36 kB / 398.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.07862, allocations: 8 kB / 398.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.07878, allocations: 31.78 kB / 398.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.07881, allocations: 12 kB / 398.8 MB, free: 14.27 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.0001418/0.07896, allocations: 141.7 kB / 398.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.07899, allocations: 27.66 kB / 399 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.07905, allocations: 30.17 kB / 399 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.07906, allocations: 4 kB / 399 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.07907, allocations: 0 / 399 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.07908, allocations: 3.984 kB / 399 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.07966, allocations: 0.5601 MB / 399.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.07967, allocations: 0 / 399.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.07989, allocations: 47.92 kB / 399.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.0799, allocations: 0 / 399.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.07992, allocations: 7.984 kB / 399.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.07993, allocations: 0 / 399.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.07993, allocations: 0 / 399.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.08044, allocations: 395 kB / 400 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.0805, allocations: 104.8 kB / 400.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.08055, allocations: 8.062 kB / 400.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.0807, allocations: 11.98 kB / 400.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.08075, allocations: 15.92 kB / 400.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.08077, allocations: 11.98 kB / 400.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.08092, allocations: 182 kB / 400.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.08093, allocations: 0 / 400.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.08128, allocations: 83.94 kB / 400.4 MB, free: 12.55 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.000815/0.0821, allocations: 0.9848 MB / 401.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.08242, allocations: 175.9 kB / 401.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.08244, allocations: 4 kB / 401.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.08257, allocations: 71.91 kB / 401.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.08291, allocations: 53.39 kB / 401.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.08511, allocations: 1.582 MB / 403.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.08537, allocations: 0.7482 MB / 404 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.753e-05/0.08547, allocations: 26.28 kB / 404 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.08557, allocations: 79.42 kB / 404.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.08558, allocations: 0 / 404.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.1004, allocations: 5.191 MB / 409.3 MB, free: 3.598 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.1006, allocations: 203.8 kB / 409.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.813, allocations: 0 / 409.5 MB, free: 3.359 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) Environment - environmentSimulation: