Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009898, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001229/0.001229, allocations: 168.7 kB / 15.95 MB, free: 204 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.555/1.555, 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.003559/0.003558, allocations: 0.5546 MB / 291.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8 kB / 352.7 MB, free: 2.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 50.57 MB / 403.3 MB, free: 212 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.315/0.4542, allocations: 235.2 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000209/0.4545, allocations: 24.42 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.4545, allocations: 0 / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.4546, allocations: 3.844 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.4546, allocations: 2.406 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.4548, allocations: 6.562 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.4549, allocations: 16.42 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.455, allocations: 2.156 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.455, allocations: 8 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.4551, allocations: 13.55 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4552, allocations: 2.5 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.4552, allocations: 2.531 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.4552, allocations: 6.125 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.4552, allocations: 31.42 kB / 403.6 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.067e-05/0.4553, allocations: 11.61 kB / 403.6 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4553, allocations: 4 kB / 403.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4553, allocations: 1.219 kB / 403.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4553, allocations: 0 / 403.6 MB, free: 9.758 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.0003873/0.4557, allocations: 325.9 kB / 403.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.4558, allocations: 9.234 kB / 403.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.4559, allocations: 10.27 kB / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.456, allocations: 161.7 kB / 404.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.456, allocations: 1.875 kB / 404.1 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.456, allocations: 10.95 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4562, allocations: 43.52 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4562, allocations: 0.9062 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4563, allocations: 4.484 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.4563, allocations: 1.422 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.4563, allocations: 20.89 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.4567, allocations: 249 kB / 404.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.4569, allocations: 50.48 kB / 404.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.457, allocations: 22.2 kB / 404.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.457, allocations: 0.6562 kB / 404.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.457, allocations: 35.78 kB / 404.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.457, allocations: 3.938 kB / 404.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.001072/0.4581, allocations: 0.5081 MB / 405.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4582, allocations: 52.88 kB / 405.1 MB, free: 8.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.4583, allocations: 97.17 kB / 405.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.4583, allocations: 29.64 kB / 405.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.4583, allocations: 81.27 kB / 405.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.4584, allocations: 29.55 kB / 405.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.4584, allocations: 4 kB / 405.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.4585, allocations: 318.2 kB / 405.7 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.4586, allocations: 17.45 kB / 405.7 MB, free: 7.754 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.4586, allocations: 27.44 kB / 405.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.459, allocations: 199.1 kB / 405.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.459, allocations: 0.7031 kB / 405.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003055/0.4594, allocations: 101.6 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.4594, allocations: 5.844 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4594, allocations: 4.5 kB / 406 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.4597, allocations: 22.55 kB / 406 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4598, allocations: 14.58 kB / 406 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.461, allocations: 1.289 MB / 407.3 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.4611, allocations: 1.219 kB / 407.3 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4611, allocations: 1.25 kB / 407.3 MB, free: 6.215 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: x1 = 0.0 v1 = 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 (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0002063/0.4613, allocations: 117.7 kB / 407.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4614, allocations: 7.094 kB / 407.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.4614, allocations: 10.34 kB / 407.5 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4614, allocations: 3.031 kB / 407.5 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4615, allocations: 5.203 kB / 407.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4615, allocations: 0.8438 kB / 407.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.4621, allocations: 371.8 kB / 407.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4621, allocations: 1.156 kB / 407.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.4622, allocations: 9.672 kB / 407.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.4624, allocations: 29.81 kB / 407.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.4624, allocations: 3.234 kB / 407.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.4634, allocations: 1.285 MB / 409.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.4634, allocations: 9.016 kB / 409.2 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.4637, allocations: 226 kB / 409.4 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.4638, allocations: 80.19 kB / 409.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.4638, allocations: 8.359 kB / 409.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.4639, allocations: 5.406 kB / 409.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.464, allocations: 13.31 kB / 409.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.464, allocations: 4.375 kB / 409.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.464, allocations: 81.86 kB / 409.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.464, allocations: 0 / 409.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.4645, allocations: 16.19 kB / 409.6 MB, free: 4.105 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.000118/0.4646, allocations: 96.81 kB / 409.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.465, allocations: 162.9 kB / 409.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.465, allocations: 1.25 kB / 409.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4652, allocations: 147.1 kB / 410 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.4656, allocations: 10.03 kB / 410 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.4661, allocations: 183.8 kB / 410.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4664, allocations: 0.6855 MB / 410.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.4665, allocations: 3.172 kB / 410.9 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.4665, allocations: 10.5 kB / 410.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4665, allocations: 0 / 410.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of Templates: time 0.005225/0.4717, allocations: 0.6294 MB / 411.5 MB, free: 2.891 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)