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.0009466/0.0009471, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007023/0.007023, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.628/1.628, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.003969/0.003969, allocations: 0.5469 MB / 292 MB, free: 1.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 8 kB / 353.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4418, allocations: 50.57 MB / 403.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.00262/0.4445, allocations: 1.353 MB / 405.2 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.4448, allocations: 93.88 kB / 405.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.4449, allocations: 2.344 kB / 405.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.691e-05/0.4449, allocations: 10.25 kB / 405.3 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.4451, allocations: 26.02 kB / 405.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.4452, allocations: 23.19 kB / 405.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.4454, allocations: 104.6 kB / 405.5 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4456, allocations: 32.8 kB / 405.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.4457, allocations: 29.05 kB / 405.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4458, allocations: 42.72 kB / 405.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.4458, allocations: 4.125 kB / 405.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.4459, allocations: 9.188 kB / 405.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.4459, allocations: 16.59 kB / 405.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.446, allocations: 68.77 kB / 405.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.4462, allocations: 104.3 kB / 405.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4462, allocations: 2.734 kB / 405.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4462, allocations: 0 / 405.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4463, allocations: 0 / 405.8 MB, free: 9.805 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005209/0.4468, allocations: 388 kB / 406.1 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.4469, allocations: 8.594 kB / 406.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.4469, allocations: 11.22 kB / 406.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.4471, allocations: 186.5 kB / 406.3 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4471, allocations: 9.266 kB / 406.4 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.4472, allocations: 10.05 kB / 406.4 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.4474, allocations: 100 kB / 406.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4474, allocations: 1.844 kB / 406.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4475, allocations: 3.125 kB / 406.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4475, allocations: 3.281 kB / 406.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4476, allocations: 62.3 kB / 406.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.4483, allocations: 398 kB / 406.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.4485, allocations: 100.4 kB / 407 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.4486, allocations: 41.55 kB / 407.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4486, allocations: 1.125 kB / 407.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4486, allocations: 36.33 kB / 407.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.4486, allocations: 0 / 407.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001157/0.4498, allocations: 0.682 MB / 407.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4498, allocations: 54.12 kB / 407.8 MB, free: 8.094 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.45, allocations: 120.7 kB / 407.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.45, allocations: 31.45 kB / 408 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.4501, allocations: 102.3 kB / 408.1 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.4501, allocations: 54 kB / 408.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.4502, allocations: 23.44 kB / 408.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.4502, allocations: 320.3 kB / 408.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.4503, allocations: 42.11 kB / 408.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.4504, allocations: 55.33 kB / 408.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4506, allocations: 104.4 kB / 408.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4506, allocations: 0 / 408.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002804/0.4508, allocations: 167.8 kB / 408.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4509, allocations: 9.094 kB / 408.8 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4509, allocations: 1.812 kB / 408.8 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.451, allocations: 35.8 kB / 408.9 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4512, allocations: 22.84 kB / 408.9 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4522, allocations: 1.448 MB / 410.3 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.4523, allocations: 5.094 kB / 410.3 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4523, allocations: 4.906 kB / 410.4 MB, free: 5.793 MB / 286.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.0001029/0.4524, allocations: 131.8 kB / 410.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.4525, allocations: 19.34 kB / 410.5 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.4525, allocations: 18.92 kB / 410.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4525, allocations: 2.25 kB / 410.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4525, allocations: 0 / 410.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4525, allocations: 2.609 kB / 410.5 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4531, allocations: 0.5457 MB / 411.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4531, allocations: 1.281 kB / 411.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4533, allocations: 23.75 kB / 411.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.168e-05/0.4533, allocations: 24.44 kB / 411.1 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4534, allocations: 1.938 kB / 411.1 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006507/0.454, allocations: 1.281 MB / 412.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.454, allocations: 5.156 kB / 412.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.4544, allocations: 311.1 kB / 412.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.4544, allocations: 84.62 kB / 412.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.4544, allocations: 2.531 kB / 412.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.4545, allocations: 5.094 kB / 412.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4545, allocations: 14.53 kB / 412.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4546, allocations: 11.72 kB / 412.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.4546, allocations: 94 kB / 412.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4546, allocations: 0 / 412.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.4549, allocations: 31.03 kB / 412.9 MB, free: 3.387 MB / 286.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.0001037/0.455, allocations: 97.42 kB / 413 MB, free: 3.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.4554, allocations: 219.3 kB / 413.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.4554, allocations: 4.062 kB / 413.3 MB, free: 3.141 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4556, allocations: 165.8 kB / 413.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4561, allocations: 27.19 kB / 413.5 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.4568, allocations: 474.8 kB / 413.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4571, allocations: 0.7099 MB / 414.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.4571, allocations: 12.61 kB / 414.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.4572, allocations: 14.75 kB / 414.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4572, allocations: 0 / 414.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Templates: time 0.005284/0.4625, allocations: 1.3 MB / 416 MB, free: 1.852 MB / 286.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)