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.0007877/0.000788, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005753/0.005753, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.004015/0.004014, allocations: 0.5469 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 12 kB / 353.3 MB, free: 2.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3606, allocations: 50.57 MB / 403.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.00271/0.3634, allocations: 1.367 MB / 405.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.3637, allocations: 93.98 kB / 405.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.3638, allocations: 2 kB / 405.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.3638, allocations: 14.62 kB / 405.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.364, allocations: 23.11 kB / 405.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.3641, allocations: 26.7 kB / 405.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3643, allocations: 102.3 kB / 405.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3645, allocations: 33.69 kB / 405.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.3646, allocations: 30.08 kB / 405.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3647, allocations: 41.75 kB / 405.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.3647, allocations: 4.594 kB / 405.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.3648, allocations: 9.688 kB / 405.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3648, allocations: 20.56 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.3649, allocations: 69.81 kB / 405.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3651, allocations: 104.7 kB / 405.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3651, allocations: 0 / 405.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3652, allocations: 0 / 405.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3652, allocations: 0 / 405.8 MB, free: 9.824 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.0005259/0.3657, allocations: 384.3 kB / 406.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.3658, allocations: 10.33 kB / 406.2 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.3658, allocations: 10.25 kB / 406.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.366, allocations: 191.4 kB / 406.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3661, allocations: 7.031 kB / 406.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.3661, allocations: 9.344 kB / 406.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3664, allocations: 93.91 kB / 406.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3664, allocations: 1.344 kB / 406.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3665, allocations: 3.844 kB / 406.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3665, allocations: 1.438 kB / 406.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3667, allocations: 67.61 kB / 406.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.3675, allocations: 396.5 kB / 406.9 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3677, allocations: 103.7 kB / 407 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.3678, allocations: 41.05 kB / 407.1 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3678, allocations: 2 kB / 407.1 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3678, allocations: 35.66 kB / 407.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 9.71e-07/0.3679, allocations: 0 / 407.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001634/0.3695, allocations: 0.6856 MB / 407.8 MB, free: 8.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3696, allocations: 53.44 kB / 407.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3698, allocations: 123.3 kB / 408 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3698, allocations: 30.61 kB / 408 MB, free: 7.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.3699, allocations: 98.95 kB / 408.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.37, allocations: 60.84 kB / 408.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3701, allocations: 20.72 kB / 408.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3703, allocations: 324.6 kB / 408.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3704, allocations: 38.75 kB / 408.5 MB, free: 7.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3705, allocations: 65.69 kB / 408.6 MB, free: 7.43 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.001053/0.3716, allocations: 410.8 kB / 409 MB, free: 7.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3716, allocations: 0 / 409 MB, free: 7.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003726/0.372, allocations: 172.7 kB / 409.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.372, allocations: 5.984 kB / 409.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.372, allocations: 0 / 409.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.3722, allocations: 32.33 kB / 409.2 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3724, allocations: 26.5 kB / 409.2 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.3739, allocations: 1.453 MB / 410.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.374, allocations: 5.906 kB / 410.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.374, allocations: 4.094 kB / 410.7 MB, free: 5.574 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: 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.0001373/0.3741, allocations: 132.2 kB / 410.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.3742, allocations: 13.25 kB / 410.8 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.3742, allocations: 14.22 kB / 410.8 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3742, allocations: 5.766 kB / 410.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3742, allocations: 9.031 kB / 410.9 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3743, allocations: 0 / 410.9 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.000768/0.375, allocations: 0.594 MB / 411.5 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3751, allocations: 5.25 kB / 411.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3752, allocations: 33.56 kB / 411.5 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/0.3753, allocations: 17.03 kB / 411.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3753, allocations: 5.938 kB / 411.5 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007453/0.376, allocations: 1.268 MB / 412.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3761, allocations: 1.281 kB / 412.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.3764, allocations: 311.9 kB / 413.1 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3765, allocations: 93.8 kB / 413.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3765, allocations: 7.562 kB / 413.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3766, allocations: 0.7969 kB / 413.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3766, allocations: 15.05 kB / 413.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3766, allocations: 3.531 kB / 413.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.3767, allocations: 93.66 kB / 413.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3767, allocations: 4.062 kB / 413.3 MB, free: 3.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.377, allocations: 32.78 kB / 413.3 MB, free: 3.105 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 0.0001212/0.3771, allocations: 101 kB / 413.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.3776, allocations: 222 kB / 413.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3776, allocations: 0 / 413.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3778, allocations: 174.5 kB / 413.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3782, allocations: 21.34 kB / 413.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.379, allocations: 478.1 kB / 414.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3792, allocations: 0.7082 MB / 415 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.3793, allocations: 10.03 kB / 415 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3793, allocations: 14.03 kB / 415 MB, free: 1.656 MB / 286.1 MB Notification: Performance of SimCode: time 2.064e-06/0.3793, allocations: 0 / 415 MB, free: 1.656 MB / 286.1 MB Notification: Performance of Templates: time 0.005261/0.3846, allocations: 1.367 MB / 416.4 MB, free: 1.57 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)