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.0007853/0.0007854, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008118/0.0008119, allocations: 177.3 kB / 15.94 MB, free: 228 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.305 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.002362/0.002362, allocations: 0.5352 MB / 291.5 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002612, allocations: 15.98 kB / 352.6 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08278, allocations: 50.56 MB / 403.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.1398/0.2226, allocations: 1.298 MB / 404.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000232/0.2229, allocations: 101.2 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2229, allocations: 1.594 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.223, allocations: 12.09 kB / 404.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.2231, allocations: 36.61 kB / 404.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.2232, allocations: 17.09 kB / 404.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2233, allocations: 71.75 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2234, allocations: 34.39 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.2235, allocations: 32.78 kB / 404.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.2236, allocations: 38.36 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2236, allocations: 4.188 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2236, allocations: 5.25 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.2236, allocations: 16.52 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.2237, allocations: 43.19 kB / 404.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.2238, allocations: 78.64 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.2238, allocations: 0 / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2238, allocations: 1.25 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.2238, allocations: 0 / 404.9 MB, free: 9.68 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.0003454/0.2241, allocations: 384.9 kB / 405.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2242, allocations: 8.781 kB / 405.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.2242, allocations: 15.81 kB / 405.3 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2243, allocations: 189.4 kB / 405.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2244, allocations: 8.891 kB / 405.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2244, allocations: 10.95 kB / 405.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2246, allocations: 95.17 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2246, allocations: 1.062 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2246, allocations: 3.812 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2246, allocations: 7.281 kB / 405.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2247, allocations: 63.52 kB / 405.7 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.2252, allocations: 387.5 kB / 406.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2254, allocations: 101.3 kB / 406.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.2254, allocations: 1.031 kB / 406.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.2254, allocations: 36.33 kB / 406.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.2254, allocations: 0 / 406.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008361/0.2262, allocations: 0.6875 MB / 406.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.2263, allocations: 54.33 kB / 407 MB, free: 8.043 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.2263, allocations: 120.5 kB / 407.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2264, allocations: 30.86 kB / 407.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.2264, allocations: 98.12 kB / 407.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2264, allocations: 60.97 kB / 407.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.2264, allocations: 4 kB / 407.3 MB, free: 7.754 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.2265, allocations: 325.2 kB / 407.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.2265, allocations: 38.53 kB / 407.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.2266, allocations: 59.38 kB / 407.7 MB, free: 7.379 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.0004937/0.2271, allocations: 313.2 kB / 408 MB, free: 7.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2271, allocations: 1 kB / 408 MB, free: 7.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002176/0.2273, allocations: 166.2 kB / 408.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2274, allocations: 5.656 kB / 408.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2274, allocations: 0 / 408.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.2275, allocations: 36.44 kB / 408.2 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.2276, allocations: 26.59 kB / 408.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007237/0.2283, allocations: 1.45 MB / 409.7 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.2284, allocations: 6.703 kB / 409.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2284, allocations: 7.516 kB / 409.7 MB, free: 5.59 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 7.151e-05/0.2285, allocations: 134.1 kB / 409.8 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2285, allocations: 13.47 kB / 409.8 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.2285, allocations: 17.91 kB / 409.8 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2285, allocations: 6.219 kB / 409.8 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2285, allocations: 1.156 kB / 409.8 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2285, allocations: 2.203 kB / 409.8 MB, free: 5.43 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.00046/0.229, allocations: 0.5922 MB / 410.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.229, allocations: 1.156 kB / 410.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2291, allocations: 32.45 kB / 410.5 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.494e-05/0.2292, allocations: 20.2 kB / 410.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2292, allocations: 6.219 kB / 410.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004834/0.2297, allocations: 1.277 MB / 411.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2297, allocations: 1.906 kB / 411.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.23, allocations: 339.9 kB / 412.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.23, allocations: 84.11 kB / 412.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.23, allocations: 6.094 kB / 412.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2301, allocations: 2.062 kB / 412.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.2301, allocations: 22.77 kB / 412.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2301, allocations: 4.188 kB / 412.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.2302, allocations: 94.59 kB / 412.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2302, allocations: 0 / 412.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.2305, allocations: 35.69 kB / 412.4 MB, free: 3.074 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 5.789e-05/0.2305, allocations: 96.28 kB / 412.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.2308, allocations: 226.8 kB / 412.7 MB, free: 2.828 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2308, allocations: 0 / 412.7 MB, free: 2.828 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.231, allocations: 173.9 kB / 412.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2312, allocations: 15.44 kB / 412.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.2317, allocations: 473.9 kB / 413.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2318, allocations: 0.7101 MB / 414 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.2319, allocations: 12.73 kB / 414 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.2319, allocations: 13.19 kB / 414.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2319, allocations: 4 kB / 414.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of Templates: time 0.003215/0.2351, allocations: 1.281 MB / 415.3 MB, free: 1.547 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: