Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009607, allocations: 92.16 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.001005/0.001005, 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.591/1.591, allocations: 223.3 MB / 240 MB, free: 5.227 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.002552/0.002552, allocations: 0.5507 MB / 291.6 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 352.7 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 50.58 MB / 403.3 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.3111/0.4479, allocations: 234.3 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.4484, allocations: 27.36 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.4484, allocations: 1.125 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.4485, allocations: 0 / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.4485, allocations: 0 / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.4487, allocations: 7.531 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.4488, allocations: 16.84 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.4489, allocations: 2.5 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.449, allocations: 11.22 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4491, allocations: 9.703 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.4491, allocations: 3.406 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.4491, allocations: 1.25 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.4492, allocations: 5.438 kB / 403.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4492, allocations: 38.56 kB / 403.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.4493, allocations: 10.94 kB / 403.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.4493, allocations: 4 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4493, allocations: 0.75 kB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4493, allocations: 0 / 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.0005205/0.4499, allocations: 325.9 kB / 403.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.4499, allocations: 9.719 kB / 403.9 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.45, allocations: 9.672 kB / 404 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4501, allocations: 163.2 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.4502, allocations: 4.562 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.4502, allocations: 3.5 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4504, allocations: 49.28 kB / 404.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4504, allocations: 3.938 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4504, allocations: 0 / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4504, allocations: 1.219 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.4505, allocations: 18.02 kB / 404.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.4509, allocations: 249.1 kB / 404.4 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.451, allocations: 50.45 kB / 404.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.4511, allocations: 26.14 kB / 404.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.4511, allocations: 1.531 kB / 404.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4511, allocations: 36.09 kB / 404.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4512, allocations: 0 / 404.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009743/0.4521, allocations: 0.5017 MB / 405.1 MB, free: 8.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4522, allocations: 54.09 kB / 405.1 MB, free: 8.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.4523, allocations: 99.23 kB / 405.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4523, allocations: 29.8 kB / 405.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.4523, allocations: 81.47 kB / 405.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.4524, allocations: 29.73 kB / 405.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.4524, allocations: 3.906 kB / 405.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.4525, allocations: 318.1 kB / 405.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.4525, allocations: 17.69 kB / 405.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.4526, allocations: 27.97 kB / 405.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4528, allocations: 200.8 kB / 405.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4528, allocations: 0.875 kB / 405.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001358/0.453, allocations: 89.28 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.453, allocations: 5.219 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.453, allocations: 0.9688 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4531, allocations: 5.25 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4532, allocations: 18.62 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4532, allocations: 5.953 kB / 406 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.4532, allocations: 4.719 kB / 406 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4532, allocations: 1.531 kB / 406 MB, free: 7.496 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: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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 0.0001609/0.4534, allocations: 114.5 kB / 406.1 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4534, allocations: 10.41 kB / 406.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.4535, allocations: 11.98 kB / 406.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4535, allocations: 2.078 kB / 406.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4535, allocations: 0 / 406.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4535, allocations: 4.703 kB / 406.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.454, allocations: 370 kB / 406.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.454, allocations: 1.094 kB / 406.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.4541, allocations: 12.45 kB / 406.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.4542, allocations: 22.81 kB / 406.6 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4542, allocations: 5.938 kB / 406.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009259/0.4551, allocations: 1.281 MB / 407.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4552, allocations: 10.7 kB / 407.9 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.4554, allocations: 217.7 kB / 408.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.4555, allocations: 88.44 kB / 408.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4555, allocations: 10.2 kB / 408.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.4556, allocations: 5.641 kB / 408.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.4556, allocations: 6.906 kB / 408.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4556, allocations: 3.641 kB / 408.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.75e-05/0.4556, allocations: 82.08 kB / 408.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4557, allocations: 0 / 408.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000227/0.4559, allocations: 8.781 kB / 408.3 MB, free: 5.387 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.456, allocations: 100 kB / 408.4 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.4562, allocations: 47.39 kB / 408.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4562, allocations: 0.9062 kB / 408.4 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.4565, allocations: 145.7 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4567, allocations: 6.203 kB / 408.6 MB, free: 5.176 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.4571, allocations: 187.8 kB / 408.7 MB, free: 5.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4573, allocations: 0.6842 MB / 409.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.926e-05/0.4574, allocations: 4.688 kB / 409.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4574, allocations: 10.72 kB / 409.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4574, allocations: 0 / 409.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of Templates: time 0.003756/0.4612, allocations: 0.5393 MB / 410 MB, free: 4.281 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)