Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 119 kB / 16.42 MB, free: 6.473 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.001328/0.001328, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002617/0.002617, allocations: 0.5657 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09531, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002667/0.09802, allocations: 1.653 MB / 454.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002708/0.09832, allocations: 99.67 kB / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.09838, allocations: 0 / 454.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.405e-05/0.09846, allocations: 15.86 kB / 454.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.09857, allocations: 27.72 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.09871, allocations: 27.89 kB / 454.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.09885, allocations: 103.5 kB / 454.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.099, allocations: 39.98 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.09908, allocations: 39.86 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.09919, allocations: 47.77 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.09921, allocations: 8 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.09924, allocations: 12 kB / 454.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.09927, allocations: 15.92 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.09934, allocations: 51.8 kB / 454.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.0995, allocations: 111.5 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.09951, allocations: 0 / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09952, allocations: 0 / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.09953, allocations: 4 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005419/0.1001, allocations: 395.4 kB / 455.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1001, allocations: 11.89 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1002, allocations: 8.844 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1004, allocations: 192.1 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1004, allocations: 8.562 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.1004, allocations: 12.38 kB / 455.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1006, allocations: 96.41 kB / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1006, allocations: 0 / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1007, allocations: 8 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1007, allocations: 0 / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1008, allocations: 59.95 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1013, allocations: 388.5 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1015, allocations: 102.5 kB / 456.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.1016, allocations: 48.94 kB / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1016, allocations: 0 / 456.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1016, allocations: 30.56 kB / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1016, allocations: 0 / 456.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001095/0.1027, allocations: 0.6857 MB / 456.9 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1028, allocations: 59.34 kB / 457 MB, free: 9.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1029, allocations: 125.7 kB / 457.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1029, allocations: 29.7 kB / 457.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.103, allocations: 100.3 kB / 457.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.103, allocations: 51.2 kB / 457.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.1031, allocations: 37.7 kB / 457.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1032, allocations: 326.8 kB / 457.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.1032, allocations: 35.94 kB / 457.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.1033, allocations: 54.56 kB / 457.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1035, allocations: 102.2 kB / 457.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1035, allocations: 4 kB / 457.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001867/0.1037, allocations: 141.5 kB / 458 MB, free: 8.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1037, allocations: 11.97 kB / 458 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1037, allocations: 7.984 kB / 458 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1037, allocations: 0 / 458 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1039, allocations: 35.92 kB / 458 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1039, allocations: 4 kB / 458.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.104, allocations: 0 / 458.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.104, allocations: 8 kB / 458.1 MB, free: 8.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.101e-05/0.1041, allocations: 118.5 kB / 458.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1041, allocations: 19.84 kB / 458.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.1042, allocations: 16.83 kB / 458.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1042, allocations: 3.938 kB / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1042, allocations: 0 / 458.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.1042, allocations: 85.02 kB / 458.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1042, allocations: 4 kB / 458.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1043, allocations: 0 / 458.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1044, allocations: 19.97 kB / 458.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003887/0.1048, allocations: 237.6 kB / 458.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003177/0.1051, allocations: 362.4 kB / 458.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.451e-05/0.1052, allocations: 39.28 kB / 458.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.1052, allocations: 103.2 kB / 459 MB, free: 7.773 MB / 334.1 MB Notification: Performance of Backend: time 1.8e-07/0.1052, allocations: 0 / 459 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.1056, allocations: 138.3 kB / 459.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008708/0.1065, allocations: 0.8206 MB / 460 MB, free: 6.766 MB / 334.1 MB Notification: Performance of Templates: time 0.003644/0.1101, allocations: 1.378 MB / 461.4 MB, free: 5.441 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)