Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008064, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008694/0.0008695, allocations: 168.7 kB / 15.95 MB, free: 204 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.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.301 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.00231/0.00231, allocations: 0.5547 MB / 291.6 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 352.7 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 50.57 MB / 403.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2378/0.3471, allocations: 1.332 MB / 404.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003153/0.3475, allocations: 92.34 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.3475, allocations: 1.844 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.3476, allocations: 13.81 kB / 404.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.3477, allocations: 26.48 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.3478, allocations: 16.08 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.348, allocations: 100.9 kB / 404.8 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3482, allocations: 37.17 kB / 404.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.3482, allocations: 30.48 kB / 404.9 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.3483, allocations: 40.28 kB / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.3484, allocations: 5.438 kB / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.3484, allocations: 4.281 kB / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3484, allocations: 12.55 kB / 405 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3485, allocations: 48.86 kB / 405 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3486, allocations: 84.11 kB / 405.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3486, allocations: 0 / 405.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3486, allocations: 0.6562 kB / 405.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3487, allocations: 1.469 kB / 405.1 MB, free: 9.637 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.0004254/0.3491, allocations: 384.1 kB / 405.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3491, allocations: 9.688 kB / 405.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3492, allocations: 13.73 kB / 405.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3494, allocations: 184.8 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.3494, allocations: 8.156 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.3494, allocations: 9.688 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3497, allocations: 96.91 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3497, allocations: 0.875 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3497, allocations: 4.094 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3497, allocations: 10.83 kB / 405.8 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3499, allocations: 58.72 kB / 405.9 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.3504, allocations: 391.9 kB / 406.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3507, allocations: 96.59 kB / 406.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.3507, allocations: 37.05 kB / 406.4 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3508, allocations: 2.219 kB / 406.4 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3508, allocations: 36.19 kB / 406.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.3508, allocations: 224 / 406.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001048/0.3519, allocations: 0.6915 MB / 407.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3519, allocations: 53.53 kB / 407.2 MB, free: 7.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.352, allocations: 120.4 kB / 407.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.352, allocations: 30.73 kB / 407.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.3521, allocations: 93.8 kB / 407.4 MB, free: 7.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.3521, allocations: 64.97 kB / 407.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.3521, allocations: 5.25 kB / 407.5 MB, free: 7.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.3522, allocations: 320.7 kB / 407.8 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.3522, allocations: 37.61 kB / 407.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.3523, allocations: 61.67 kB / 407.9 MB, free: 7.332 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.0005775/0.3529, allocations: 307.3 kB / 408.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3529, allocations: 1.688 kB / 408.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002587/0.3532, allocations: 171.3 kB / 408.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3532, allocations: 10.14 kB / 408.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3532, allocations: 0 / 408.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.3534, allocations: 27.61 kB / 408.4 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3535, allocations: 27.62 kB / 408.4 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000932/0.3544, allocations: 1.45 MB / 409.9 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3545, allocations: 5.141 kB / 409.9 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3545, allocations: 8.281 kB / 409.9 MB, free: 5.539 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 9.636e-05/0.3546, allocations: 132.2 kB / 410 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.3547, allocations: 12.72 kB / 410 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.3547, allocations: 15.84 kB / 410 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3547, allocations: 2.469 kB / 410 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.3547, allocations: 0.9688 kB / 410 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3547, allocations: 0.7969 kB / 410 MB, free: 5.387 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.0005806/0.3553, allocations: 0.5888 MB / 410.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3553, allocations: 5.938 kB / 410.6 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3555, allocations: 31.77 kB / 410.7 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.08e-05/0.3555, allocations: 17.36 kB / 410.7 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3555, allocations: 6.562 kB / 410.7 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005857/0.3561, allocations: 1.271 MB / 411.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3562, allocations: 3.25 kB / 411.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.3564, allocations: 311.2 kB / 412.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.3565, allocations: 85.02 kB / 412.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3565, allocations: 6.469 kB / 412.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3566, allocations: 1.406 kB / 412.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.3566, allocations: 17.5 kB / 412.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3566, allocations: 9.375 kB / 412.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.3567, allocations: 102.3 kB / 412.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3567, allocations: 0 / 412.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.357, allocations: 29.81 kB / 412.5 MB, free: 3.078 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 9.435e-05/0.3571, allocations: 99.97 kB / 412.6 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3575, allocations: 225.5 kB / 412.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3575, allocations: 1.344 kB / 412.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3577, allocations: 169.3 kB / 413 MB, free: 2.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.358, allocations: 24.42 kB / 413 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.3586, allocations: 460.2 kB / 413.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.3588, allocations: 0.7101 MB / 414.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.3589, allocations: 7.672 kB / 414.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3589, allocations: 15.56 kB / 414.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3589, allocations: 0 / 414.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of Templates: time 0.004443/0.3634, allocations: 1.297 MB / 415.5 MB, free: 1.559 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)