Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008045/0.0008044, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.41 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.003778/0.003778, allocations: 0.554 MB / 291.6 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003554, allocations: 8 kB / 352.7 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 50.57 MB / 403.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.3144/0.4521, allocations: 1.319 MB / 404.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.4525, allocations: 93.2 kB / 404.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.4526, allocations: 1.281 kB / 404.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.4526, allocations: 10.38 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.4527, allocations: 29.77 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.4528, allocations: 15.81 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.453, allocations: 104.4 kB / 404.8 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.4532, allocations: 33.44 kB / 404.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.4532, allocations: 27.89 kB / 404.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.4533, allocations: 40.92 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.4534, allocations: 6.547 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.4534, allocations: 5 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.4534, allocations: 11.42 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.4535, allocations: 46.33 kB / 405 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.4536, allocations: 83.2 kB / 405.1 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4536, allocations: 4 kB / 405.1 MB, free: 9.645 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4536, allocations: 0 / 405.1 MB, free: 9.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.4537, allocations: 1.469 kB / 405.1 MB, free: 9.645 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.0003743/0.454, allocations: 382.5 kB / 405.5 MB, free: 9.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.4541, allocations: 9.625 kB / 405.5 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.4541, allocations: 13.52 kB / 405.5 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4543, allocations: 188.2 kB / 405.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4543, allocations: 11.22 kB / 405.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.4543, allocations: 9.344 kB / 405.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.4545, allocations: 91.41 kB / 405.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4545, allocations: 5.266 kB / 405.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4545, allocations: 4 kB / 405.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4546, allocations: 6.078 kB / 405.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4547, allocations: 57.22 kB / 405.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.4553, allocations: 392 kB / 406.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.4555, allocations: 96.8 kB / 406.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.4556, allocations: 37.78 kB / 406.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4556, allocations: 1.688 kB / 406.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4556, allocations: 36.78 kB / 406.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.4556, allocations: 0 / 406.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001173/0.4568, allocations: 0.6896 MB / 407.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4569, allocations: 53.31 kB / 407.1 MB, free: 8.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.457, allocations: 123.9 kB / 407.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.457, allocations: 34.8 kB / 407.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.457, allocations: 95.05 kB / 407.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.4571, allocations: 59.92 kB / 407.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.4571, allocations: 5.688 kB / 407.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.4572, allocations: 320 kB / 407.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.4573, allocations: 33.98 kB / 407.8 MB, free: 7.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.4574, allocations: 62.83 kB / 407.9 MB, free: 7.359 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.458, allocations: 316.8 kB / 408.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.458, allocations: 1.844 kB / 408.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003164/0.4584, allocations: 169.5 kB / 408.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4584, allocations: 5.031 kB / 408.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4584, allocations: 1.766 kB / 408.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.4585, allocations: 26.48 kB / 408.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4586, allocations: 27.42 kB / 408.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.4597, allocations: 1.447 MB / 409.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.4598, allocations: 3.953 kB / 409.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4598, allocations: 13.02 kB / 409.9 MB, free: 5.566 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. 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 (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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.4599, allocations: 136.9 kB / 410 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.46, allocations: 8.578 kB / 410 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.46, allocations: 16.89 kB / 410 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.46, allocations: 1.531 kB / 410 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.46, allocations: 0.7969 kB / 410 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4601, allocations: 2.203 kB / 410 MB, free: 5.414 MB / 286.1 MB 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 postOpt removeSimpleEquations (simulation): time 0.0007379/0.4608, allocations: 0.5945 MB / 410.6 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4608, allocations: 5.016 kB / 410.6 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.4609, allocations: 27.44 kB / 410.6 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.461, allocations: 17.89 kB / 410.7 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.461, allocations: 5.312 kB / 410.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006827/0.4617, allocations: 1.273 MB / 411.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4617, allocations: 1.5 kB / 411.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.4621, allocations: 310.2 kB / 412.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.4621, allocations: 85.33 kB / 412.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4622, allocations: 6.156 kB / 412.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.4622, allocations: 4.875 kB / 412.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.4623, allocations: 13.31 kB / 412.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4623, allocations: 4.781 kB / 412.4 MB, free: 3.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.4624, allocations: 97.45 kB / 412.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4624, allocations: 0 / 412.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.4627, allocations: 31.03 kB / 412.5 MB, free: 3.113 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.4628, allocations: 102.2 kB / 412.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4632, allocations: 225.5 kB / 412.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4633, allocations: 0 / 412.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.4634, allocations: 169.3 kB / 413 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4638, allocations: 27.17 kB / 413 MB, free: 2.723 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.4645, allocations: 467 kB / 413.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4647, allocations: 0.7048 MB / 414.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.4648, allocations: 13.27 kB / 414.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.4648, allocations: 18.16 kB / 414.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4648, allocations: 0 / 414.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Templates: time 0.005261/0.4701, allocations: 1.29 MB / 415.5 MB, free: 1.578 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)