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.007999/0.007999, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001922/0.001921, allocations: 195.9 kB / 16.79 MB, free: 5.809 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.695/1.695, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.003759/0.003759, allocations: 0.5661 MB / 291.2 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 351.5 MB, free: 2.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09367, allocations: 49.59 MB / 401.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.162/0.2558, allocations: 1.706 MB / 402.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.2562, allocations: 96.11 kB / 402.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.2563, allocations: 2.188 kB / 402.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.2564, allocations: 13.58 kB / 402.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2565, allocations: 26.34 kB / 403 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.2567, allocations: 26.83 kB / 403 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2568, allocations: 102.6 kB / 403.1 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.257, allocations: 29.5 kB / 403.1 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.257, allocations: 39.3 kB / 403.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.2571, allocations: 44.09 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2572, allocations: 5.75 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.2572, allocations: 6.469 kB / 403.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2572, allocations: 21.14 kB / 403.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.2573, allocations: 48.52 kB / 403.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2574, allocations: 83.81 kB / 403.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2574, allocations: 1.656 kB / 403.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2574, allocations: 0 / 403.4 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2574, allocations: 0 / 403.4 MB, free: 9.77 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.0004381/0.2579, allocations: 397.4 kB / 403.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2579, allocations: 10.38 kB / 403.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.258, allocations: 14.59 kB / 403.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2581, allocations: 187.7 kB / 404 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2582, allocations: 8.781 kB / 404 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2582, allocations: 16.97 kB / 404 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2584, allocations: 92.33 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2584, allocations: 1.062 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2584, allocations: 4.188 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2584, allocations: 2.531 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2586, allocations: 57.92 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.2591, allocations: 391.3 kB / 404.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.2593, allocations: 103.5 kB / 404.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.2594, allocations: 36.25 kB / 404.7 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2594, allocations: 2.125 kB / 404.7 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2594, allocations: 38.97 kB / 404.7 MB, free: 8.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2594, allocations: 4 kB / 404.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001025/0.2604, allocations: 0.6782 MB / 405.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2605, allocations: 54.56 kB / 405.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.2606, allocations: 120.5 kB / 405.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2606, allocations: 30.8 kB / 405.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2606, allocations: 111 kB / 405.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.2607, allocations: 49.94 kB / 405.7 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.2607, allocations: 33.98 kB / 405.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.2608, allocations: 324.2 kB / 406.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.2609, allocations: 33.39 kB / 406.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.2609, allocations: 65.83 kB / 406.2 MB, free: 7.617 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.0007271/0.2617, allocations: 411.9 kB / 406.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-06/0.2617, allocations: 0 / 406.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002562/0.262, allocations: 174.7 kB / 406.8 MB, free: 7.332 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.262, allocations: 5.875 kB / 406.8 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.262, allocations: 0.6562 kB / 406.8 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.2621, allocations: 31.22 kB / 406.8 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.2622, allocations: 29.83 kB / 406.8 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008868/0.2631, allocations: 1.445 MB / 408.3 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.2632, allocations: 10.28 kB / 408.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.2632, allocations: 4.594 kB / 408.3 MB, free: 5.883 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 8.765e-05/0.2633, allocations: 132.4 kB / 408.4 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.2633, allocations: 13.17 kB / 408.4 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.2634, allocations: 15.66 kB / 408.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2634, allocations: 2.047 kB / 408.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2634, allocations: 1.031 kB / 408.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2634, allocations: 1.766 kB / 408.4 MB, free: 5.73 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.0005484/0.2639, allocations: 0.5903 MB / 409 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.264, allocations: 1.688 kB / 409 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.2641, allocations: 32.69 kB / 409.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-05/0.2642, allocations: 16.59 kB / 409.1 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2642, allocations: 9.953 kB / 409.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.2648, allocations: 1.271 MB / 410.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2648, allocations: 1.125 kB / 410.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.2651, allocations: 316.1 kB / 410.7 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.2651, allocations: 87.53 kB / 410.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2651, allocations: 5.969 kB / 410.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.2652, allocations: 1.031 kB / 410.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.2652, allocations: 18.97 kB / 410.8 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2653, allocations: 3.375 kB / 410.8 MB, free: 3.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.2653, allocations: 97.3 kB / 410.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2653, allocations: 0 / 410.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000311/0.2656, allocations: 38.47 kB / 410.9 MB, free: 3.418 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 7.775e-05/0.2657, allocations: 98.03 kB / 411 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003736/0.2661, allocations: 225.5 kB / 411.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2661, allocations: 0 / 411.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2663, allocations: 171.1 kB / 411.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2666, allocations: 27.06 kB / 411.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.2672, allocations: 461.5 kB / 411.9 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2674, allocations: 0.7043 MB / 412.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2674, allocations: 14.78 kB / 412.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2674, allocations: 0 / 412.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Templates: time 0.004336/0.2718, allocations: 1.957 MB / 414.6 MB, free: 1.809 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)