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.001229/0.001229, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.003801/0.003801, allocations: 0.57 MB / 291 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 351.5 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 49.6 MB / 401.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2143/0.3443, allocations: 1.65 MB / 402.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.3446, allocations: 92.25 kB / 402.9 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.3448, allocations: 1.844 kB / 402.9 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.3448, allocations: 17.34 kB / 402.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.3449, allocations: 27.34 kB / 402.9 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.3451, allocations: 32.42 kB / 403 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3452, allocations: 105.9 kB / 403.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3454, allocations: 33.55 kB / 403.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.3455, allocations: 33.62 kB / 403.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.3456, allocations: 46.19 kB / 403.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.3456, allocations: 8.25 kB / 403.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.3456, allocations: 9.406 kB / 403.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.3456, allocations: 22.67 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.3457, allocations: 52.81 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3459, allocations: 108.5 kB / 403.4 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3459, allocations: 5.062 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3459, allocations: 0 / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.3459, allocations: 0 / 403.4 MB, free: 9.852 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.0004437/0.3464, allocations: 394.2 kB / 403.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3464, allocations: 14.34 kB / 403.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.3465, allocations: 21.69 kB / 403.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3466, allocations: 186.3 kB / 404 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3466, allocations: 9.469 kB / 404 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.3467, allocations: 16.89 kB / 404 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3469, allocations: 90.95 kB / 404.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3469, allocations: 0.6875 kB / 404.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3469, allocations: 5.906 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3469, allocations: 2.906 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3471, allocations: 56.02 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.3476, allocations: 398.1 kB / 404.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3478, allocations: 102.2 kB / 404.6 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3479, allocations: 34.84 kB / 404.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3479, allocations: 4.656 kB / 404.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3479, allocations: 40.92 kB / 404.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3479, allocations: 0 / 404.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001029/0.3489, allocations: 0.6783 MB / 405.4 MB, free: 8.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.349, allocations: 55.66 kB / 405.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.3491, allocations: 131.3 kB / 405.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3491, allocations: 31.66 kB / 405.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3492, allocations: 97.89 kB / 405.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3492, allocations: 55.3 kB / 405.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3493, allocations: 33.66 kB / 405.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.3493, allocations: 321.6 kB / 406.1 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.3494, allocations: 34.62 kB / 406.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-05/0.3495, allocations: 68.34 kB / 406.2 MB, free: 7.383 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.0007671/0.3503, allocations: 412.6 kB / 406.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3503, allocations: 0 / 406.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002709/0.3505, allocations: 170.8 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3506, allocations: 6.484 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3506, allocations: 1.531 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.3507, allocations: 30.94 kB / 406.8 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3508, allocations: 27.06 kB / 406.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.3519, allocations: 1.613 MB / 408.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.352, allocations: 2.062 kB / 408.5 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.352, allocations: 12.38 kB / 408.5 MB, free: 5.359 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.0001084/0.3521, allocations: 132.4 kB / 408.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.3522, allocations: 8.875 kB / 408.6 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.3522, allocations: 21.12 kB / 408.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3522, allocations: 1.375 kB / 408.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3522, allocations: 1.062 kB / 408.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3523, allocations: 0.7969 kB / 408.6 MB, free: 5.207 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.0005928/0.3528, allocations: 0.5981 MB / 409.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3529, allocations: 6.062 kB / 409.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.353, allocations: 27.77 kB / 409.3 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-05/0.3531, allocations: 20.14 kB / 409.3 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3531, allocations: 3.5 kB / 409.3 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006363/0.3537, allocations: 1.369 MB / 410.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3538, allocations: 5.406 kB / 410.7 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3541, allocations: 303.2 kB / 411 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.3541, allocations: 86.27 kB / 411 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3542, allocations: 6.203 kB / 411.1 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.3542, allocations: 9.375 kB / 411.1 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.3543, allocations: 14.56 kB / 411.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3543, allocations: 4.062 kB / 411.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.3543, allocations: 93.44 kB / 411.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3543, allocations: 0 / 411.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.3547, allocations: 34.44 kB / 411.2 MB, free: 2.805 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.463e-05/0.3547, allocations: 102.4 kB / 411.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.3552, allocations: 226.4 kB / 411.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3552, allocations: 0 / 411.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3553, allocations: 170.9 kB / 411.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3557, allocations: 29.86 kB / 411.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.3564, allocations: 405.3 kB / 412.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3566, allocations: 0.7083 MB / 412.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.3567, allocations: 15.06 kB / 412.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3567, allocations: 17.72 kB / 412.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3567, allocations: 0 / 412.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of Templates: time 0.004848/0.3616, allocations: 1.428 MB / 414.3 MB, free: 1.297 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)