Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009953/0.0009953, allocations: 90.22 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.358e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5227, allocations: 102.9 MB / 466.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.523, allocations: 90.02 kB / 466.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5307/1.054, allocations: 108.8 MB / 0.5616 GB, free: 94.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.054, allocations: 2.625 kB / 0.5616 GB, free: 94.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003793/1.054, allocations: 106.2 kB / 0.5617 GB, free: 94.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01804/1.072, allocations: 4.927 MB / 0.5665 GB, free: 92.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/1.072, allocations: 7.594 kB / 0.5665 GB, free: 92.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02798/1.1, allocations: 6.903 MB / 0.5732 GB, free: 91.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/1.12, allocations: 6.781 MB / 0.5799 GB, free: 90.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/1.121, allocations: 165 kB / 0.58 GB, free: 90.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/1.124, allocations: 308.8 kB / 0.5803 GB, free: 90.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01465/1.138, allocations: 7.5 MB / 0.5876 GB, free: 88.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/1.159, allocations: 10.65 MB / 0.598 GB, free: 82.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/1.159, allocations: 59.47 kB / 0.5981 GB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005814/1.16, allocations: 28 kB / 0.5981 GB, free: 82.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/1.161, allocations: 1.055 MB / 0.5991 GB, free: 82.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05115/1.212, allocations: 48.47 MB / 0.6465 GB, free: 34.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/1.216, allocations: 3.153 MB / 0.6496 GB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/1.218, allocations: 1.788 MB / 0.6513 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.219, allocations: 1.208 MB / 0.6525 GB, free: 28.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/1.219, allocations: 51.88 kB / 0.6525 GB, free: 28.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.811e-06/1.219, allocations: 0 / 0.6525 GB, free: 28.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.0383/1.257, allocations: 16.19 MB / 0.6683 GB, free: 11.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/1.257, allocations: 201.9 kB / 0.6685 GB, free: 11.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/1.263, allocations: 3.483 MB / 0.6719 GB, free: 8.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004181/1.263, allocations: 29.7 kB / 0.672 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.265, allocations: 3.62 MB / 0.6755 GB, free: 4.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007861/1.266, allocations: 0.8441 MB / 0.6763 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.266, allocations: 2.344 kB / 0.6763 GB, free: 3.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002939/1.266, allocations: 0.5792 MB / 0.6769 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/1.269, allocations: 2.051 MB / 0.6789 GB, free: 1.043 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006205/1.275, allocations: 5.916 MB / 0.6847 GB, free: 9.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/1.28, allocations: 3.471 MB / 0.6881 GB, free: 5.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.868e-05/1.28, allocations: 40 kB / 0.6881 GB, free: 5.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.3273/1.607, allocations: 8.003 MB / 0.6959 GB, free: 91.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.608, allocations: 63.62 kB / 0.696 GB, free: 91.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003561/1.608, allocations: 137.5 kB / 0.6961 GB, free: 91.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/1.612, allocations: 1.024 MB / 0.6971 GB, free: 91.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/1.619, allocations: 1.48 MB / 0.6986 GB, free: 91.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.632, allocations: 6.521 MB / 0.7049 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006872/1.639, allocations: 213.5 kB / 0.7051 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/1.641, allocations: 397.2 kB / 0.7055 GB, free: 90.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0014/1.642, allocations: 463.8 kB / 0.7059 GB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008517/1.651, allocations: 3.728 MB / 0.7096 GB, free: 89.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.652, allocations: 387.5 kB / 0.71 GB, free: 89.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.659, allocations: 3.441 MB / 0.7133 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/1.659, allocations: 26.97 kB / 0.7133 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/1.659, allocations: 11.28 kB / 0.7134 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.659, allocations: 10.03 kB / 0.7134 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.679, allocations: 8.941 MB / 0.7221 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.679, allocations: 6.719 kB / 0.7221 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.681, allocations: 362.7 kB / 0.7224 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/1.683, allocations: 0.7876 MB / 0.7232 GB, free: 88.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/1.683, allocations: 17.47 kB / 0.7232 GB, free: 88.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/1.691, allocations: 5.26 MB / 0.7284 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/1.691, allocations: 7.594 kB / 0.7284 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.701, allocations: 6.911 MB / 0.7351 GB, free: 82.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.703, allocations: 0.6949 MB / 0.7358 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007085/1.704, allocations: 7.344 kB / 0.7358 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.706, allocations: 71.3 kB / 0.7359 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/1.706, allocations: 157.1 kB / 0.736 GB, free: 82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.706, allocations: 68.44 kB / 0.7361 GB, free: 81.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004205/1.71, allocations: 2.348 MB / 0.7384 GB, free: 81.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.71, allocations: 0 / 0.7384 GB, free: 81.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007422/1.718, allocations: 1.026 MB / 0.7394 GB, free: 81.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01108/1.729, allocations: 8.963 MB / 0.7481 GB, free: 75.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.741, allocations: 5.105 MB / 0.7531 GB, free: 74.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-05/1.741, allocations: 3.469 kB / 0.7531 GB, free: 74.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003565/1.745, allocations: 1.732 MB / 0.7548 GB, free: 73.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.748, allocations: 441.5 kB / 0.7552 GB, free: 73.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/1.776, allocations: 10.51 MB / 0.7655 GB, free: 69.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/1.78, allocations: 4 MB / 0.7694 GB, free: 67.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005235/1.785, allocations: 2.024 MB / 0.7714 GB, free: 66.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003019/1.788, allocations: 2.308 MB / 0.7736 GB, free: 64.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.788, allocations: 0 / 0.7736 GB, free: 64.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4384/2.227, allocations: 85.54 MB / 0.8572 GB, free: 85.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/2.227, allocations: 160.9 kB / 0.8573 GB, free: 85.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.995/7.222, allocations: 6.891 kB / 0.8573 GB, free: 85.38 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)