Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005024/0.005024, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.001111/0.001111, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002885/0.002885, allocations: 0.5697 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.72 kB / 402.4 MB, free: 9.418 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09618, allocations: 49.6 MB / 452 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003084/0.09931, allocations: 1.652 MB / 453.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003257/0.09967, allocations: 91.62 kB / 453.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.09976, allocations: 4 kB / 453.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.15e-05/0.09986, allocations: 15.84 kB / 453.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1, allocations: 35.7 kB / 453.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.1002, allocations: 19.98 kB / 453.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1003, allocations: 107.5 kB / 453.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1005, allocations: 39.91 kB / 454 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.1006, allocations: 43.86 kB / 454 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.1007, allocations: 39.84 kB / 454 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1007, allocations: 8 kB / 454.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.283e-05/0.1007, allocations: 8 kB / 454.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.1008, allocations: 27.92 kB / 454.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.1008, allocations: 47.73 kB / 454.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.101, allocations: 107.6 kB / 454.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.101, allocations: 0 / 454.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.101, allocations: 0 / 454.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1011, allocations: 0 / 454.2 MB, free: 3.09 MB / 318.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.0006142/0.1017, allocations: 395.3 kB / 454.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1017, allocations: 11.89 kB / 454.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1018, allocations: 16.89 kB / 454.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.102, allocations: 196.2 kB / 454.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.102, allocations: 8.547 kB / 454.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1021, allocations: 8.375 kB / 454.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1023, allocations: 94.91 kB / 455 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1023, allocations: 4 kB / 455 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1023, allocations: 7.938 kB / 455 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1023, allocations: 0 / 455 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1025, allocations: 63.89 kB / 455 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.1031, allocations: 380.7 kB / 455.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1033, allocations: 102.5 kB / 455.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.1033, allocations: 36.86 kB / 455.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1034, allocations: 0 / 455.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1034, allocations: 38.56 kB / 455.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1034, allocations: 3.938 kB / 455.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001176/0.1046, allocations: 0.6922 MB / 456.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1046, allocations: 51.41 kB / 456.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1047, allocations: 126.2 kB / 456.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1048, allocations: 29.7 kB / 456.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1048, allocations: 104.3 kB / 456.6 MB, free: 472 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1049, allocations: 63.47 kB / 456.6 MB, free: 408 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.105, allocations: 29.7 kB / 456.7 MB, free: 372 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1051, allocations: 318.8 kB / 457 MB, free: 44 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1051, allocations: 31.98 kB / 457 MB, free: 12 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.1052, allocations: 62.55 kB / 457.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1054, allocations: 106.5 kB / 457.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1054, allocations: 0 / 457.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002654/0.1057, allocations: 162.3 kB / 457.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1057, allocations: 8 kB / 457.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1058, allocations: 0 / 457.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1059, allocations: 28.84 kB / 457.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1061, allocations: 35.95 kB / 457.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.1075, allocations: 1.615 MB / 459 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.1076, allocations: 4 kB / 459 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1076, allocations: 4.031 kB / 459 MB, free: 13.82 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1077, allocations: 129.7 kB / 459.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1078, allocations: 11.95 kB / 459.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1078, allocations: 20.83 kB / 459.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1078, allocations: 0 / 459.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1078, allocations: 4.062 kB / 459.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1078, allocations: 0 / 459.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.1085, allocations: 0.5475 MB / 459.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1085, allocations: 4 kB / 459.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1087, allocations: 27.98 kB / 459.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-05/0.1088, allocations: 20.94 kB / 459.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1088, allocations: 11.94 kB / 459.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009644/0.1098, allocations: 1.359 MB / 461.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1098, allocations: 3.984 kB / 461.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.1101, allocations: 310.8 kB / 461.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1102, allocations: 85.09 kB / 461.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1102, allocations: 0 / 461.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1103, allocations: 8 kB / 461.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1104, allocations: 11.92 kB / 461.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1104, allocations: 15.94 kB / 461.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.542e-05/0.1104, allocations: 95.27 kB / 461.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1104, allocations: 0 / 461.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1108, allocations: 36 kB / 461.7 MB, free: 10.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.1109, allocations: 100.8 kB / 461.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1114, allocations: 222.5 kB / 462 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1114, allocations: 0 / 462 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1116, allocations: 170.8 kB / 462.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.1121, allocations: 26.97 kB / 462.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.1128, allocations: 393.8 kB / 462.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1132, allocations: 0.7045 MB / 463.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.1132, allocations: 17 kB / 463.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.1133, allocations: 11.44 kB / 463.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1133, allocations: 4 kB / 463.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of Templates: time 0.004567/0.1179, allocations: 1.399 MB / 464.7 MB, free: 7.785 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)