Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",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.0008356/0.0008356, allocations: 87.88 kB / 16.31 MB, free: 6.461 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.000936/0.0009361, allocations: 178.3 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003002, allocations: 9.562 kB / 300.9 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 50.41 MB / 351.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 1.626/1.737, allocations: 0.5952 GB / 0.9383 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.836/2.573, allocations: 121.3 MB / 1.057 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1646/2.738, allocations: 3.112 MB / 1.06 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.1211/2.859, allocations: 32.07 MB / 1.091 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.2883/3.147, allocations: 92.93 MB / 1.182 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.04527/3.193, allocations: 8.339 MB / 1.19 GB, free: 424 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.605/8.798, allocations: 1.539 GB / 2.729 GB, free: 174.4 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1082/8.906, allocations: 63.16 MB / 2.791 GB, free: 153 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04666/8.953, allocations: 17.25 MB / 2.808 GB, free: 144.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04921/9.002, allocations: 24.65 MB / 2.832 GB, free: 130.3 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01473/9.017, allocations: 1.605 MB / 2.833 GB, free: 128.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02165/9.039, allocations: 2.154 MB / 2.835 GB, free: 126.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.03781/9.076, allocations: 20.65 MB / 2.856 GB, free: 111.1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02468/9.101, allocations: 9.457 MB / 2.865 GB, free: 107.9 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08013/9.181, allocations: 80.37 MB / 2.943 GB, free: 38.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/9.181, allocations: 5.203 kB / 2.943 GB, free: 38.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.946e-06/9.181, allocations: 0 / 2.943 GB, free: 38.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.003623/9.185, allocations: 0 / 2.943 GB, free: 38.17 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11113 * Number of variables: 11113 Notification: Performance of Generate backend data structure: time 0.6872/9.872, allocations: 49.2 MB / 2.991 GB, free: 0.5112 GB / 0.9202 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/9.872, allocations: 13.19 kB / 2.991 GB, free: 0.5112 GB / 0.9202 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.03536/9.908, allocations: 6.248 MB / 2.997 GB, free: 0.5108 GB / 0.9202 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.33/11.24, allocations: 142.6 MB / 3.137 GB, free: 409.4 MB / 0.9202 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.139/11.38, allocations: 65.35 MB / 3.201 GB, free: 345.4 MB / 0.9202 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002935/11.38, allocations: 2.331 MB / 3.203 GB, free: 343.2 MB / 0.9202 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01659/11.4, allocations: 3.288 MB / 3.206 GB, free: 340.1 MB / 0.9202 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1916/11.59, allocations: 79.99 MB / 3.284 GB, free: 256.9 MB / 0.9202 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003073/11.59, allocations: 452 kB / 3.285 GB, free: 256.5 MB / 0.9202 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0139/11.61, allocations: 1.394 MB / 3.286 GB, free: 255.3 MB / 0.9202 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01529/11.62, allocations: 10.88 MB / 3.297 GB, free: 244.4 MB / 0.9202 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1572/11.78, allocations: 61.03 MB / 3.356 GB, free: 183.4 MB / 0.9202 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.169/12.95, allocations: 335.2 MB / 3.683 GB, free: 300 MB / 0.9204 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1469/13.09, allocations: 54.71 MB / 3.737 GB, free: 290.8 MB / 0.9204 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03922/13.13, allocations: 27.89 MB / 3.764 GB, free: 277 MB / 0.9204 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2036/13.34, allocations: 114.9 MB / 3.876 GB, free: 187.7 MB / 0.9204 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/13.34, allocations: 220.2 kB / 3.877 GB, free: 187.5 MB / 0.9204 GB Notification: Performance of pre-optimization done (n=1693): time 1.688e-05/13.34, allocations: 0 / 3.877 GB, free: 187.5 MB / 0.9204 GB Notification: Performance of matching and sorting (n=2243): time 1.921/15.26, allocations: 438.4 MB / 4.305 GB, free: 324.3 MB / 0.9204 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005111/15.26, allocations: 1.65 MB / 4.306 GB, free: 322.3 MB / 0.9204 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09394/15.35, allocations: 34.15 MB / 4.34 GB, free: 288.4 MB / 0.9204 GB Notification: Performance of collectPreVariables (initialization): time 0.006228/15.36, allocations: 394.9 kB / 4.34 GB, free: 288 MB / 0.9204 GB Notification: Performance of collectInitialEqns (initialization): time 0.03032/15.39, allocations: 24.1 MB / 4.364 GB, free: 264 MB / 0.9204 GB Notification: Performance of collectInitialBindings (initialization): time 0.01411/15.4, allocations: 7.766 MB / 4.371 GB, free: 256.3 MB / 0.9204 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007966/15.41, allocations: 0.6274 MB / 4.372 GB, free: 255.7 MB / 0.9204 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/15.41, allocations: 305.1 kB / 4.372 GB, free: 255.4 MB / 0.9204 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0398/15.45, allocations: 22.71 MB / 4.394 GB, free: 232.6 MB / 0.9204 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04171/15.49, allocations: 35.62 MB / 4.429 GB, free: 191.5 MB / 0.9204 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04431/15.54, allocations: 28.78 MB / 4.457 GB, free: 163.2 MB / 0.9204 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004091/15.54, allocations: 116 kB / 4.457 GB, free: 163.1 MB / 0.9204 GB Notification: Performance of matching and sorting (n=4290) (initialization): time 0.6004/16.14, allocations: 94.37 MB / 4.549 GB, free: 404.7 MB / 0.9204 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007685/16.14, allocations: 190.9 kB / 4.55 GB, free: 404.7 MB / 0.9204 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001014/16.14, allocations: 412 kB / 4.55 GB, free: 404.7 MB / 0.9204 GB Notification: Tearing is skipped for strong component 13 because system size of 784 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/16.15, allocations: 4.849 MB / 4.555 GB, free: 404.6 MB / 0.9204 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02202/16.17, allocations: 5.989 MB / 4.561 GB, free: 404.6 MB / 0.9204 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04665/16.22, allocations: 46.41 MB / 4.606 GB, free: 383.2 MB / 0.9204 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03763/16.26, allocations: 2.193 MB / 4.608 GB, free: 382.7 MB / 0.9204 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009271/16.27, allocations: 1.539 MB / 4.609 GB, free: 382.4 MB / 0.9204 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1864 * Number of states: 0 () * Number of discrete variables: 393 (cylinder6.cylinderTop.color[3],cylinder6.cylinderTop.color[2],cylinder6.cylinderTop.color[1],cylinder6.crankAngle2.color[3],cylinder6.crankAngle2.color[2],cylinder6.crankAngle2.color[1],cylinder6.crankAngle1.color[3],cylinder6.crankAngle1.color[2],cylinder6.crankAngle1.color[1],cylinder6.cylinderInclination.color[3],cylinder6.cylinderInclination.color[2],cylinder6.cylinderInclination.color[1],cylinder6.mounting.color[3],cylinder6.mounting.color[2],cylinder6.mounting.color[1],cylinder6.cylinder.boxColor[3],cylinder6.cylinder.boxColor[2],cylinder6.cylinder.boxColor[1],cylinder6.mid.color[3],cylinder6.mid.color[2],cylinder6.mid.color[1],cylinder6.b1.cylinderColor[3],cylinder6.b1.cylinderColor[2],cylinder6.b1.cylinderColor[1],cylinder6.crank2.color[3],cylinder6.crank2.color[2],cylinder6.crank2.color[1],cylinder6.crank2.body.sphereColor[3],cylinder6.crank2.body.sphereColor[2],cylinder6.crank2.body.sphereColor[1],cylinder6.crank1.color[3],cylinder6.crank1.color[2],cylinder6.crank1.color[1],cylinder6.crank1.body.sphereColor[3],cylinder6.crank1.body.sphereColor[2],cylinder6.crank1.body.sphereColor[1],cylinder6.crank3.color[3],cylinder6.crank3.color[2],cylinder6.crank3.color[1],cylinder6.crank3.body.sphereColor[3],cylinder6.crank3.body.sphereColor[2],cylinder6.crank3.body.sphereColor[1],cylinder6.crank4.color[3],cylinder6.crank4.color[2],cylinder6.crank4.color[1],cylinder6.crank4.body.sphereColor[3],cylinder6.crank4.body.sphereColor[2],cylinder6.crank4.body.sphereColor[1],cylinder6.b2.cylinderColor[3],cylinder6.b2.cylinderColor[2],cylinder6.b2.cylinderColor[1],cylinder6.connectingRod.color[3],cylinder6.connectingRod.color[2],cylinder6.connectingRod.color[1],cylinder6.connectingRod.body.sphereColor[3],cylinder6.connectingRod.body.sphereColor[2],cylinder6.connectingRod.body.sphereColor[1],cylinder6.piston.color[3],cylinder6.piston.color[2],cylinder6.piston.color[1],cylinder6.piston.body.sphereColor[3],cylinder6.piston.body.sphereColor[2],cylinder6.piston.body.sphereColor[1],cylinder5.cylinderTop.color[3],cylinder5.cylinderTop.color[2],cylinder5.cylinderTop.color[1],cylinder5.crankAngle2.color[3],cylinder5.crankAngle2.color[2],cylinder5.crankAngle2.color[1],cylinder5.crankAngle1.color[3],cylinder5.crankAngle1.color[2],cylinder5.crankAngle1.color[1],cylinder5.cylinderInclination.color[3],cylinder5.cylinderInclination.color[2],cylinder5.cylinderInclination.color[1],cylinder5.mounting.color[3],cylinder5.mounting.color[2],cylinder5.mounting.color[1],cylinder5.cylinder.boxColor[3],cylinder5.cylinder.boxColor[2],cylinder5.cylinder.boxColor[1],cylinder5.mid.color[3],cylinder5.mid.color[2],cylinder5.mid.color[1],cylinder5.b1.cylinderColor[3],cylinder5.b1.cylinderColor[2],cylinder5.b1.cylinderColor[1],cylinder5.crank2.color[3],cylinder5.crank2.color[2],cylinder5.crank2.color[1],cylinder5.crank2.body.sphereColor[3],cylinder5.crank2.body.sphereColor[2],cylinder5.crank2.body.sphereColor[1],cylinder5.crank1.color[3],cylinder5.crank1.color[2],cylinder5.crank1.color[1],cylinder5.crank1.body.sphereColor[3],cylinder5.crank1.body.sphereColor[2],cylinder5.crank1.body.sphereColor[1],cylinder5.crank3.color[3],cylinder5.crank3.color[2],cylinder5.crank3.color[1],cylinder5.crank3.body.sphereColor[3],cylinder5.crank3.body.sphereColor[2],cylinder5.crank3.body.sphereColor[1],cylinder5.crank4.color[3],cylinder5.crank4.color[2],cylinder5.crank4.color[1],cylinder5.crank4.body.sphereColor[3],cylinder5.crank4.body.sphereColor[2],cylinder5.crank4.body.sphereColor[1],cylinder5.b2.cylinderColor[3],cylinder5.b2.cylinderColor[2],cylinder5.b2.cylinderColor[1],cylinder5.connectingRod.color[3],cylinder5.connectingRod.color[2],cylinder5.connectingRod.color[1],cylinder5.connectingRod.body.sphereColor[3],cylinder5.connectingRod.body.sphereColor[2],cylinder5.connectingRod.body.sphereColor[1],cylinder5.piston.color[3],cylinder5.piston.color[2],cylinder5.piston.color[1],cylinder5.piston.body.sphereColor[3],cylinder5.piston.body.sphereColor[2],cylinder5.piston.body.sphereColor[1],cylinder4.cylinderTop.color[3],cylinder4.cylinderTop.color[2],cylinder4.cylinderTop.color[1],cylinder4.crankAngle2.color[3],cylinder4.crankAngle2.color[2],cylinder4.crankAngle2.color[1],cylinder4.crankAngle1.color[3],cylinder4.crankAngle1.color[2],cylinder4.crankAngle1.color[1],cylinder4.cylinderInclination.color[3],cylinder4.cylinderInclination.color[2],cylinder4.cylinderInclination.color[1],cylinder4.mounting.color[3],cylinder4.mounting.color[2],cylinder4.mounting.color[1],cylinder4.cylinder.boxColor[3],cylinder4.cylinder.boxColor[2],cylinder4.cylinder.boxColor[1],cylinder4.mid.color[3],cylinder4.mid.color[2],cylinder4.mid.color[1],cylinder4.b1.cylinderColor[3],cylinder4.b1.cylinderColor[2],cylinder4.b1.cylinderColor[1],cylinder4.crank2.color[3],cylinder4.crank2.color[2],cylinder4.crank2.color[1],cylinder4.crank2.body.sphereColor[3],cylinder4.crank2.body.sphereColor[2],cylinder4.crank2.body.sphereColor[1],cylinder4.crank1.color[3],cylinder4.crank1.color[2],cylinder4.crank1.color[1],cylinder4.crank1.body.sphereColor[3],cylinder4.crank1.body.sphereColor[2],cylinder4.crank1.body.sphereColor[1],cylinder4.crank3.color[3],cylinder4.crank3.color[2],cylinder4.crank3.color[1],cylinder4.crank3.body.sphereColor[3],cylinder4.crank3.body.sphereColor[2],cylinder4.crank3.body.sphereColor[1],cylinder4.crank4.color[3],cylinder4.crank4.color[2],cylinder4.crank4.color[1],cylinder4.crank4.body.sphereColor[3],cylinder4.crank4.body.sphereColor[2],cylinder4.crank4.body.sphereColor[1],cylinder4.b2.cylinderColor[3],cylinder4.b2.cylinderColor[2],cylinder4.b2.cylinderColor[1],cylinder4.connectingRod.color[3],cylinder4.connectingRod.color[2],cylinder4.connectingRod.color[1],cylinder4.connectingRod.body.sphereColor[3],cylinder4.connectingRod.body.sphereColor[2],cylinder4.connectingRod.body.sphereColor[1],cylinder4.piston.color[3],cylinder4.piston.color[2],cylinder4.piston.color[1],cylinder4.piston.body.sphereColor[3],cylinder4.piston.body.sphereColor[2],cylinder4.piston.body.sphereColor[1],cylinder3.cylinderTop.color[3],cylinder3.cylinderTop.color[2],cylinder3.cylinderTop.color[1],cylinder3.crankAngle2.color[3],cylinder3.crankAngle2.color[2],cylinder3.crankAngle2.color[1],cylinder3.crankAngle1.color[3],cylinder3.crankAngle1.color[2],cylinder3.crankAngle1.color[1],cylinder3.cylinderInclination.color[3],cylinder3.cylinderInclination.color[2],cylinder3.cylinderInclination.color[1],cylinder3.mounting.color[3],cylinder3.mounting.color[2],cylinder3.mounting.color[1],cylinder3.cylinder.boxColor[3],cylinder3.cylinder.boxColor[2],cylinder3.cylinder.boxColor[1],cylinder3.mid.color[3],cylinder3.mid.color[2],cylinder3.mid.color[1],cylinder3.b1.cylinderColor[3],cylinder3.b1.cylinderColor[2],cylinder3.b1.cylinderColor[1],cylinder3.crank2.color[3],cylinder3.crank2.color[2],cylinder3.crank2.color[1],cylinder3.crank2.body.sphereColor[3],cylinder3.crank2.body.sphereColor[2],cylinder3.crank2.body.sphereColor[1],cylinder3.crank1.color[3],cylinder3.crank1.color[2],cylinder3.crank1.color[1],cylinder3.crank1.body.sphereColor[3],cylinder3.crank1.body.sphereColor[2],cylinder3.crank1.body.sphereColor[1],cylinder3.crank3.color[3],cylinder3.crank3.color[2],cylinder3.crank3.color[1],cylinder3.crank3.body.sphereColor[3],cylinder3.crank3.body.sphereColor[2],cylinder3.crank3.body.sphereColor[1],cylinder3.crank4.color[3],cylinder3.crank4.color[2],cylinder3.crank4.color[1],cylinder3.crank4.body.sphereColor[3],cylinder3.crank4.body.sphereColor[2],cylinder3.crank4.body.sphereColor[1],cylinder3.b2.cylinderColor[3],cylinder3.b2.cylinderColor[2],cylinder3.b2.cylinderColor[1],cylinder3.connectingRod.color[3],cylinder3.connectingRod.color[2],cylinder3.connectingRod.color[1],cylinder3.connectingRod.body.sphereColor[3],cylinder3.connectingRod.body.sphereColor[2],cylinder3.connectingRod.body.sphereColor[1],cylinder3.piston.color[3],cylinder3.piston.color[2],cylinder3.piston.color[1],cylinder3.piston.body.sphereColor[3],cylinder3.piston.body.sphereColor[2],cylinder3.piston.body.sphereColor[1],cylinder2.cylinderTop.color[3],cylinder2.cylinderTop.color[2],cylinder2.cylinderTop.color[1],cylinder2.crankAngle2.color[3],cylinder2.crankAngle2.color[2],cylinder2.crankAngle2.color[1],cylinder2.crankAngle1.color[3],cylinder2.crankAngle1.color[2],cylinder2.crankAngle1.color[1],cylinder2.cylinderInclination.color[3],cylinder2.cylinderInclination.color[2],cylinder2.cylinderInclination.color[1],cylinder2.mounting.color[3],cylinder2.mounting.color[2],cylinder2.mounting.color[1],cylinder2.cylinder.boxColor[3],cylinder2.cylinder.boxColor[2],cylinder2.cylinder.boxColor[1],cylinder2.mid.color[3],cylinder2.mid.color[2],cylinder2.mid.color[1],cylinder2.b1.cylinderColor[3],cylinder2.b1.cylinderColor[2],cylinder2.b1.cylinderColor[1],cylinder2.crank2.color[3],cylinder2.crank2.color[2],cylinder2.crank2.color[1],cylinder2.crank2.body.sphereColor[3],cylinder2.crank2.body.sphereColor[2],cylinder2.crank2.body.sphereColor[1],cylinder2.crank1.color[3],cylinder2.crank1.color[2],cylinder2.crank1.color[1],cylinder2.crank1.body.sphereColor[3],cylinder2.crank1.body.sphereColor[2],cylinder2.crank1.body.sphereColor[1],cylinder2.crank3.color[3],cylinder2.crank3.color[2],cylinder2.crank3.color[1],cylinder2.crank3.body.sphereColor[3],cylinder2.crank3.body.sphereColor[2],cylinder2.crank3.body.sphereColor[1],cylinder2.crank4.color[3],cylinder2.crank4.color[2],cylinder2.crank4.color[1],cylinder2.crank4.body.sphereColor[3],cylinder2.crank4.body.sphereColor[2],cylinder2.crank4.body.sphereColor[1],cylinder2.b2.cylinderColor[3],cylinder2.b2.cylinderColor[2],cylinder2.b2.cylinderColor[1],cylinder2.connectingRod.color[3],cylinder2.connectingRod.color[2],cylinder2.connectingRod.color[1],cylinder2.connectingRod.body.sphereColor[3],cylinder2.connectingRod.body.sphereColor[2],cylinder2.connectingRod.body.sphereColor[1],cylinder2.piston.color[3],cylinder2.piston.color[2],cylinder2.piston.color[1],cylinder2.piston.body.sphereColor[3],cylinder2.piston.body.sphereColor[2],cylinder2.piston.body.sphereColor[1],cylinder1.cylinderTop.color[3],cylinder1.cylinderTop.color[2],cylinder1.cylinderTop.color[1],cylinder1.crankAngle2.color[3],cylinder1.crankAngle2.color[2],cylinder1.crankAngle2.color[1],cylinder1.crankAngle1.color[3],cylinder1.crankAngle1.color[2],cylinder1.crankAngle1.color[1],cylinder1.cylinderInclination.color[3],cylinder1.cylinderInclination.color[2],cylinder1.cylinderInclination.color[1],cylinder1.mounting.color[3],cylinder1.mounting.color[2],cylinder1.mounting.color[1],cylinder1.cylinder.boxColor[3],cylinder1.cylinder.boxColor[2],cylinder1.cylinder.boxColor[1],cylinder1.mid.color[3],cylinder1.mid.color[2],cylinder1.mid.color[1],cylinder1.b1.cylinderColor[3],cylinder1.b1.cylinderColor[2],cylinder1.b1.cylinderColor[1],cylinder1.crank2.color[3],cylinder1.crank2.color[2],cylinder1.crank2.color[1],cylinder1.crank2.body.sphereColor[3],cylinder1.crank2.body.sphereColor[2],cylinder1.crank2.body.sphereColor[1],cylinder1.crank1.color[3],cylinder1.crank1.color[2],cylinder1.crank1.color[1],cylinder1.crank1.body.sphereColor[3],cylinder1.crank1.body.sphereColor[2],cylinder1.crank1.body.sphereColor[1],cylinder1.crank3.color[3],cylinder1.crank3.color[2],cylinder1.crank3.color[1],cylinder1.crank3.body.sphereColor[3],cylinder1.crank3.body.sphereColor[2],cylinder1.crank3.body.sphereColor[1],cylinder1.crank4.color[3],cylinder1.crank4.color[2],cylinder1.crank4.color[1],cylinder1.crank4.body.sphereColor[3],cylinder1.crank4.body.sphereColor[2],cylinder1.crank4.body.sphereColor[1],cylinder1.b2.cylinderColor[3],cylinder1.b2.cylinderColor[2],cylinder1.b2.cylinderColor[1],cylinder1.connectingRod.color[3],cylinder1.connectingRod.color[2],cylinder1.connectingRod.color[1],cylinder1.connectingRod.body.sphereColor[3],cylinder1.connectingRod.body.sphereColor[2],cylinder1.connectingRod.body.sphereColor[1],cylinder1.piston.color[3],cylinder1.piston.color[2],cylinder1.piston.color[1],cylinder1.piston.body.sphereColor[3],cylinder1.piston.body.sphereColor[2],cylinder1.piston.body.sphereColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3177): * Single equations (assignments): 3128 * Array equations: 36 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(784,0.4%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 11,(3,88.9%) 10,(2,100.0%) 11,(2,100.0%) 11,(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 6 {2 12,2 12,2 12,2 12,2 12,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.04529/16.31, allocations: 18.83 MB / 4.628 GB, free: 373.9 MB / 0.9204 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01252/16.32, allocations: 3.346 MB / 4.631 GB, free: 373.9 MB / 0.9204 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1936/16.52, allocations: 82.73 MB / 4.712 GB, free: 333.6 MB / 0.9204 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001483/16.52, allocations: 209.7 kB / 4.712 GB, free: 333.6 MB / 0.9204 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003493/16.52, allocations: 143.9 kB / 4.712 GB, free: 333.6 MB / 0.9204 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00043/16.52, allocations: 107.6 kB / 4.712 GB, free: 333.5 MB / 0.9204 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3597/16.88, allocations: 186.4 MB / 4.894 GB, free: 147.4 MB / 0.9204 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000314/16.88, allocations: 49.59 kB / 4.894 GB, free: 147.4 MB / 0.9204 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/16.89, allocations: 2.739 MB / 4.897 GB, free: 144.6 MB / 0.9204 GB Notification: Tearing is skipped for strong component 26 because system size of 683 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.008691/16.9, allocations: 4.022 MB / 4.901 GB, free: 140.6 MB / 0.9204 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006398/16.91, allocations: 422.1 kB / 4.901 GB, free: 140.2 MB / 0.9204 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03829/16.94, allocations: 42.68 MB / 4.943 GB, free: 96.28 MB / 0.9204 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.465e-05/16.94, allocations: 75.69 kB / 4.943 GB, free: 96.2 MB / 0.9204 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6644/17.61, allocations: 113.2 MB / 5.054 GB, free: 378.8 MB / 0.9204 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02418/17.63, allocations: 7.831 MB / 5.061 GB, free: 376.2 MB / 0.9204 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01482/17.65, allocations: 441.9 kB / 5.062 GB, free: 375.9 MB / 0.9204 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02875/17.68, allocations: 1.467 MB / 5.063 GB, free: 375.7 MB / 0.9204 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009204/17.69, allocations: 2.128 MB / 5.065 GB, free: 375.4 MB / 0.9204 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005057/17.69, allocations: 0.5674 MB / 5.066 GB, free: 375.2 MB / 0.9204 GB Notification: Performance of sorting global known variables: time 0.05456/17.75, allocations: 23.01 MB / 5.088 GB, free: 367.2 MB / 0.9204 GB Notification: Performance of sort global known variables: time 1.242e-06/17.75, allocations: 0 / 5.088 GB, free: 367.2 MB / 0.9204 GB Notification: Performance of remove unused functions: time 0.05241/17.8, allocations: 9.117 MB / 5.097 GB, free: 366.4 MB / 0.9204 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 217 * Number of states: 4 (load.phi,load.w,filter.x[1],filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1447): * Single equations (assignments): 1434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(683,0.5%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 7,(2,100.0%) 7,(2,100.0%) 7,(2,100.0%) 7,(2,100.0%) 7,(2,100.0%) 7} * Non-linear torn systems: 6 {2 14,2 14,2 14,2 14,2 14,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.2309/18.03, allocations: 114.6 MB / 5.209 GB, free: 292.7 MB / 0.9204 GB Notification: Performance of simCode: created initialization part: time 0.1305/18.16, allocations: 69.26 MB / 5.277 GB, free: 223.7 MB / 0.9204 GB Notification: Performance of simCode: created event and clocks part: time 5.743e-05/18.16, allocations: 9.094 kB / 5.277 GB, free: 223.7 MB / 0.9204 GB Notification: Performance of simCode: created simulation system equations: time 0.08739/18.25, allocations: 39.71 MB / 5.316 GB, free: 184.1 MB / 0.9204 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05333/18.3, allocations: 6.313 MB / 5.322 GB, free: 178.1 MB / 0.9204 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.362/21.66, allocations: 0.8135 GB / 6.135 GB, free: 371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4877/22.15, allocations: 28.31 MB / 6.163 GB, free: 484.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.04471/22.2, allocations: 10.16 MB / 6.173 GB, free: 483.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04587/22.24, allocations: 23.08 MB / 6.195 GB, free: 474.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.974e-06/22.24, allocations: 0 / 6.195 GB, free: 474.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.964/24.2, allocations: 0.8352 GB / 7.031 GB, free: 346.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/24.2, allocations: 241.1 kB / 7.031 GB, free: 345.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/48.39, allocations: 0 / 7.031 GB, free: 345.8 MB / 1.014 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_res.mat does not exist to compare? outputFormat=mat