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.001153/0.001153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001118/0.001118, allocations: 189.2 kB / 16.25 MB, free: 6.629 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.002993/0.002993, allocations: 0.5739 MB / 290.7 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.89 kB / 351 MB, free: 2.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1542, allocations: 49.6 MB / 400.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2599/0.4141, allocations: 1.703 MB / 402.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002968/0.4145, allocations: 95.89 kB / 402.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.4145, allocations: 2.062 kB / 402.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.88e-05/0.4146, allocations: 10.41 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.4148, allocations: 22.19 kB / 402.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.415, allocations: 27.08 kB / 402.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4151, allocations: 111 kB / 402.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.4153, allocations: 32.23 kB / 402.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.4154, allocations: 37.36 kB / 402.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.4155, allocations: 49.45 kB / 402.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.4156, allocations: 11.06 kB / 402.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.4156, allocations: 8.75 kB / 402.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.4156, allocations: 19.52 kB / 402.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.4157, allocations: 46.8 kB / 402.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4159, allocations: 109 kB / 402.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4159, allocations: 0 / 402.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.416, allocations: 1.188 kB / 402.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.416, allocations: 0 / 402.9 MB, free: 9.797 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.0004957/0.4165, allocations: 407.3 kB / 403.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4165, allocations: 13.23 kB / 403.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.4166, allocations: 15.06 kB / 403.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4167, allocations: 181.2 kB / 403.5 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4168, allocations: 12.34 kB / 403.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4168, allocations: 14.31 kB / 403.6 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.417, allocations: 94.67 kB / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.417, allocations: 0 / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4171, allocations: 4.828 kB / 403.6 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4171, allocations: 2.812 kB / 403.7 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.4172, allocations: 58 kB / 403.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.4178, allocations: 393.9 kB / 404.1 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.418, allocations: 100.3 kB / 404.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.4181, allocations: 41.64 kB / 404.2 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.4181, allocations: 1 kB / 404.2 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.4181, allocations: 39.52 kB / 404.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.4181, allocations: 0 / 404.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001176/0.4193, allocations: 0.6873 MB / 405 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4194, allocations: 54.67 kB / 405 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4195, allocations: 134.5 kB / 405.1 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4195, allocations: 27.3 kB / 405.2 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.4196, allocations: 101.6 kB / 405.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.4196, allocations: 54.5 kB / 405.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.4197, allocations: 34.34 kB / 405.4 MB, free: 7.965 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.4197, allocations: 319.8 kB / 405.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.4198, allocations: 37.94 kB / 405.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.4199, allocations: 63.88 kB / 405.8 MB, free: 7.621 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: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.4207, allocations: 412.2 kB / 406.2 MB, free: 7.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4207, allocations: 0 / 406.2 MB, free: 7.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002865/0.421, allocations: 171.4 kB / 406.3 MB, free: 7.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.421, allocations: 5 kB / 406.3 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.421, allocations: 2.094 kB / 406.3 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.4212, allocations: 31.58 kB / 406.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.4213, allocations: 23.58 kB / 406.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4223, allocations: 1.619 MB / 408 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.4224, allocations: 5.062 kB / 408 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4224, allocations: 5.047 kB / 408 MB, free: 5.621 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 system: mass1.v = $START.mass1.v mass2.s = $START.mass2.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 (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.0001005/0.4225, allocations: 140.2 kB / 408.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4225, allocations: 8.594 kB / 408.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.4226, allocations: 18.12 kB / 408.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4226, allocations: 1.219 kB / 408.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4226, allocations: 1.219 kB / 408.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4226, allocations: 0.75 kB / 408.2 MB, free: 5.465 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.00061/0.4232, allocations: 0.5927 MB / 408.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4232, allocations: 4.969 kB / 408.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.4234, allocations: 28.61 kB / 408.8 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.4234, allocations: 21.06 kB / 408.8 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4235, allocations: 6.156 kB / 408.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.4241, allocations: 1.378 MB / 410.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4241, allocations: 5.594 kB / 410.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4244, allocations: 297.6 kB / 410.5 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.4245, allocations: 93.95 kB / 410.6 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4245, allocations: 3.516 kB / 410.6 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.4246, allocations: 9.094 kB / 410.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4246, allocations: 10.78 kB / 410.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.4246, allocations: 3.719 kB / 410.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.4247, allocations: 97 kB / 410.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4247, allocations: 0 / 410.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.4251, allocations: 30.44 kB / 410.8 MB, free: 3.062 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 (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 8.996e-05/0.4252, allocations: 109.2 kB / 410.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.4255, allocations: 226.7 kB / 411.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4256, allocations: 0 / 411.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4257, allocations: 171.2 kB / 411.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.4261, allocations: 23.86 kB / 411.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.4268, allocations: 430.5 kB / 411.7 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.427, allocations: 0.7042 MB / 412.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.427, allocations: 15.09 kB / 412.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.4271, allocations: 18.81 kB / 412.4 MB, free: 1.621 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4271, allocations: 0 / 412.4 MB, free: 1.621 MB / 286.1 MB Notification: Performance of Templates: time 0.005175/0.4323, allocations: 1.447 MB / 413.9 MB, free: 1.523 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)