Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009087, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001061/0.001061, allocations: 172.7 kB / 15.95 MB, free: 208 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.579/1.579, allocations: 223.3 MB / 240 MB, free: 5.395 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.005639/0.005639, allocations: 0.5508 MB / 291.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 352.7 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 50.59 MB / 403.3 MB, free: 196 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.3032/0.4463, allocations: 229.1 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.4466, allocations: 24.25 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.4466, allocations: 0 / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.4467, allocations: 0 / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.4467, allocations: 1.594 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.4469, allocations: 9.141 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.4469, allocations: 17.11 kB / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.447, allocations: 2.422 kB / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.4471, allocations: 14.33 kB / 403.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.4472, allocations: 10 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.4472, allocations: 1.156 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.4472, allocations: 1.281 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.4472, allocations: 6.75 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.4473, allocations: 27.33 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.858e-05/0.4473, allocations: 18.09 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4473, allocations: 0.6875 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4473, allocations: 0 / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.4473, allocations: 0.75 kB / 403.6 MB, free: 9.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003843/0.4477, allocations: 325.5 kB / 403.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4478, allocations: 8.969 kB / 403.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.4478, allocations: 10.28 kB / 404 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.4479, allocations: 170.2 kB / 404.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.448, allocations: 1.25 kB / 404.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.448, allocations: 6.984 kB / 404.1 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.4481, allocations: 41.45 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4482, allocations: 0 / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4482, allocations: 4.625 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4482, allocations: 0.7031 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.4482, allocations: 14.39 kB / 404.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.4487, allocations: 303.5 kB / 404.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4488, allocations: 40.66 kB / 404.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.4489, allocations: 14.41 kB / 404.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4489, allocations: 0.7188 kB / 404.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4489, allocations: 32.25 kB / 404.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4489, allocations: 0 / 404.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003965/0.4493, allocations: 168.9 kB / 404.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.4493, allocations: 52.47 kB / 404.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.4494, allocations: 95.67 kB / 404.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.4494, allocations: 28.89 kB / 404.9 MB, free: 8.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.4495, allocations: 82.88 kB / 405 MB, free: 8.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.4495, allocations: 18.44 kB / 405 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.4495, allocations: 0 / 405 MB, free: 8.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.4496, allocations: 317.4 kB / 405.3 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.4496, allocations: 8.672 kB / 405.3 MB, free: 8.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.4497, allocations: 22.14 kB / 405.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.4497, allocations: 16.77 kB / 405.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4497, allocations: 0.5156 kB / 405.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001231/0.4498, allocations: 67.98 kB / 405.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4499, allocations: 9.453 kB / 405.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4499, allocations: 1.062 kB / 405.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4499, allocations: 0.9062 kB / 405.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.45, allocations: 21.33 kB / 405.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.45, allocations: 2.281 kB / 405.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.4501, allocations: 5.062 kB / 405.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.4501, allocations: 1.469 kB / 405.5 MB, free: 7.969 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.4502, allocations: 111.5 kB / 405.6 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.4502, allocations: 6.078 kB / 405.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.4502, allocations: 8.609 kB / 405.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4503, allocations: 0.5625 kB / 405.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4503, allocations: 8.438 kB / 405.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4503, allocations: 0 / 405.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4504, allocations: 160.9 kB / 405.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4504, allocations: 0 / 405.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.4505, allocations: 3.594 kB / 405.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.4506, allocations: 18.77 kB / 405.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4507, allocations: 5.453 kB / 405.8 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/0.4514, allocations: 1.252 MB / 407 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4514, allocations: 0 / 407 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.4517, allocations: 175.5 kB / 407.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.4517, allocations: 87.2 kB / 407.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.4517, allocations: 1.469 kB / 407.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.4518, allocations: 1.031 kB / 407.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.4518, allocations: 5.109 kB / 407.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4518, allocations: 0.5312 kB / 407.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.4519, allocations: 82.47 kB / 407.4 MB, free: 6.051 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4519, allocations: 0 / 407.4 MB, free: 6.051 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.4521, allocations: 5 kB / 407.4 MB, free: 6.051 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 9.304e-05/0.4522, allocations: 96.72 kB / 407.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.993e-05/0.4523, allocations: 28.47 kB / 407.5 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4524, allocations: 0.8438 kB / 407.5 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4526, allocations: 124.6 kB / 407.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4528, allocations: 4.75 kB / 407.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.4531, allocations: 156.6 kB / 407.8 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4533, allocations: 0.6816 MB / 408.5 MB, free: 5.008 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.103e-05/0.4533, allocations: 2.234 kB / 408.5 MB, free: 5.008 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.4533, allocations: 8.156 kB / 408.5 MB, free: 5 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.4533, allocations: 0.8125 kB / 408.5 MB, free: 5 MB / 286.1 MB Notification: Performance of Templates: time 0.004115/0.4574, allocations: 450.8 kB / 408.9 MB, free: 4.973 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)