Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009384, allocations: 100.2 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.0009619/0.000962, allocations: 177.3 kB / 15.95 MB, free: 216 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.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.002451/0.002451, allocations: 0.5586 MB / 291.5 MB, free: 1.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 352.6 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08509, allocations: 50.58 MB / 403.2 MB, free: 256 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1388/0.224, allocations: 1.286 MB / 404.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.2243, allocations: 96.72 kB / 404.5 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.2244, allocations: 2.156 kB / 404.5 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.2244, allocations: 9.375 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2245, allocations: 30.86 kB / 404.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.2246, allocations: 18.86 kB / 404.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2248, allocations: 75.88 kB / 404.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2249, allocations: 34.19 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.2249, allocations: 36.73 kB / 404.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.225, allocations: 37.89 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2251, allocations: 5.438 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.2251, allocations: 4.938 kB / 404.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.2251, allocations: 17.22 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.2252, allocations: 43.3 kB / 404.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2253, allocations: 79.91 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.2253, allocations: 0 / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2253, allocations: 0 / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2253, allocations: 5.188 kB / 404.9 MB, free: 9.676 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.0003577/0.2257, allocations: 382 kB / 405.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2257, allocations: 9.625 kB / 405.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.2258, allocations: 13.36 kB / 405.3 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2259, allocations: 191.3 kB / 405.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2259, allocations: 6.719 kB / 405.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.226, allocations: 9.234 kB / 405.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.2261, allocations: 92.5 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2262, allocations: 4.75 kB / 405.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2262, allocations: 5.062 kB / 405.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2262, allocations: 6.328 kB / 405.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.2263, allocations: 56.27 kB / 405.7 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2268, allocations: 392.4 kB / 406.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.227, allocations: 100.4 kB / 406.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.227, allocations: 1.938 kB / 406.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.2271, allocations: 33.66 kB / 406.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2271, allocations: 0 / 406.2 MB, free: 8.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000963/0.228, allocations: 0.6865 MB / 406.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.2281, allocations: 53.72 kB / 406.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.2282, allocations: 122.4 kB / 407.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.2282, allocations: 29.7 kB / 407.1 MB, free: 7.918 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2282, allocations: 94.44 kB / 407.2 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2283, allocations: 59.95 kB / 407.2 MB, free: 7.777 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.2283, allocations: 5.469 kB / 407.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.2283, allocations: 325.7 kB / 407.6 MB, free: 7.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.2284, allocations: 33.31 kB / 407.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.2285, allocations: 62.41 kB / 407.7 MB, free: 7.402 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.0005133/0.229, allocations: 320.7 kB / 408 MB, free: 7.168 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.229, allocations: 0 / 408 MB, free: 7.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002312/0.2292, allocations: 161.6 kB / 408.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2292, allocations: 6.375 kB / 408.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2293, allocations: 0 / 408.1 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.2294, allocations: 40.97 kB / 408.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.2295, allocations: 27.5 kB / 408.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007802/0.2303, allocations: 1.446 MB / 409.6 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.2303, allocations: 9.328 kB / 409.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2303, allocations: 8.984 kB / 409.7 MB, free: 5.605 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 8.399e-05/0.2304, allocations: 135.1 kB / 409.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.2305, allocations: 9.203 kB / 409.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.2305, allocations: 19.8 kB / 409.8 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2305, allocations: 6.953 kB / 409.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2305, allocations: 0 / 409.8 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2305, allocations: 5.672 kB / 409.8 MB, free: 5.441 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.0005364/0.2311, allocations: 0.5907 MB / 410.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2311, allocations: 1.5 kB / 410.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2312, allocations: 32.22 kB / 410.5 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.575e-05/0.2313, allocations: 15.81 kB / 410.5 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2313, allocations: 6.156 kB / 410.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.2318, allocations: 1.278 MB / 411.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2318, allocations: 4.906 kB / 411.8 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.2321, allocations: 331.9 kB / 412.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.2322, allocations: 85.48 kB / 412.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2322, allocations: 6.734 kB / 412.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.2323, allocations: 5.281 kB / 412.2 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2323, allocations: 21.8 kB / 412.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2323, allocations: 3.688 kB / 412.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.2324, allocations: 97.47 kB / 412.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2324, allocations: 0 / 412.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.2327, allocations: 29.72 kB / 412.3 MB, free: 3.094 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 7.672e-05/0.2328, allocations: 97.94 kB / 412.4 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.2331, allocations: 227.3 kB / 412.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2332, allocations: 0.9375 kB / 412.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2333, allocations: 174.5 kB / 412.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2336, allocations: 18.02 kB / 412.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.2342, allocations: 474.1 kB / 413.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.2344, allocations: 0.7085 MB / 414 MB, free: 1.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.2345, allocations: 9.891 kB / 414 MB, free: 1.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.2345, allocations: 14.03 kB / 414 MB, free: 1.652 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2345, allocations: 4 kB / 414 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Templates: time 0.003705/0.2382, allocations: 1.277 MB / 415.3 MB, free: 1.566 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) Environment - environmentSimulation: