Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007912/0.000791, 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.0008928/0.0008929, 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.32 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.002638/0.002638, allocations: 0.5585 MB / 291.6 MB, free: 1.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 12 kB / 352.7 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 50.57 MB / 403.3 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.000713/0.1184, allocations: 238.3 kB / 403.5 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2347/0.3531, allocations: 25.56 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.3532, allocations: 0 / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3533, allocations: 1.312 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.3533, allocations: 8.188 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3535, allocations: 7.391 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.699e-05/0.3536, allocations: 15.33 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.3537, allocations: 1.281 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.3537, allocations: 7.734 kB / 403.6 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.3538, allocations: 14.42 kB / 403.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3539, allocations: 0.7812 kB / 403.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3539, allocations: 2.312 kB / 403.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3539, allocations: 7.125 kB / 403.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3539, allocations: 32.77 kB / 403.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.535e-05/0.354, allocations: 10.95 kB / 403.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.354, allocations: 3.828 kB / 403.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.354, allocations: 0 / 403.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.354, allocations: 1.188 kB / 403.6 MB, free: 9.77 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.000392/0.3544, allocations: 329.3 kB / 403.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.3545, allocations: 12.72 kB / 404 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3546, allocations: 10.7 kB / 404 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3547, allocations: 161.5 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3547, allocations: 2.656 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.3547, allocations: 6.875 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3549, allocations: 41.28 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3549, allocations: 3.25 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3549, allocations: 0.625 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3549, allocations: 1.031 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.355, allocations: 24.12 kB / 404.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3554, allocations: 249.5 kB / 404.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3555, allocations: 50.48 kB / 404.5 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.3556, allocations: 20.84 kB / 404.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3556, allocations: 2.141 kB / 404.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3556, allocations: 39.16 kB / 404.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3556, allocations: 0 / 404.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008061/0.3564, allocations: 0.5047 MB / 405.1 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3565, allocations: 56.89 kB / 405.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.3565, allocations: 95.39 kB / 405.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3566, allocations: 34.06 kB / 405.2 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.3566, allocations: 81.36 kB / 405.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3567, allocations: 30.08 kB / 405.4 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3567, allocations: 3.938 kB / 405.4 MB, free: 8.078 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.3567, allocations: 317.8 kB / 405.7 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.3568, allocations: 13.19 kB / 405.7 MB, free: 7.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.3568, allocations: 29.36 kB / 405.7 MB, free: 7.75 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3571, allocations: 206.5 kB / 405.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3572, allocations: 0.5938 kB / 405.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.3573, allocations: 105 kB / 406 MB, free: 7.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3574, allocations: 6.406 kB / 406 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3574, allocations: 1.281 kB / 406 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.3575, allocations: 22.61 kB / 406 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.3576, allocations: 14.67 kB / 406.1 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/0.3584, allocations: 1.286 MB / 407.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.3584, allocations: 1.156 kB / 407.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3584, allocations: 2.75 kB / 407.3 MB, free: 6.227 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 8.833e-05/0.3585, allocations: 123.1 kB / 407.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3585, allocations: 5.344 kB / 407.5 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.3586, allocations: 9.125 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3586, allocations: 1.062 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3586, allocations: 1.656 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3586, allocations: 2.078 kB / 407.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.359, allocations: 369.8 kB / 407.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.359, allocations: 1.344 kB / 407.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.3591, allocations: 8.312 kB / 407.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-05/0.3591, allocations: 27.41 kB / 407.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3592, allocations: 3.188 kB / 407.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007346/0.3599, allocations: 1.294 MB / 409.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3599, allocations: 0.9688 kB / 409.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3602, allocations: 230 kB / 409.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.3602, allocations: 79.8 kB / 409.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3602, allocations: 3.297 kB / 409.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.3603, allocations: 7.625 kB / 409.5 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3603, allocations: 14.3 kB / 409.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.3604, allocations: 3.25 kB / 409.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.3604, allocations: 83.38 kB / 409.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.3604, allocations: 0 / 409.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3607, allocations: 13.91 kB / 409.6 MB, free: 4.117 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 8.374e-05/0.3608, allocations: 92.83 kB / 409.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.3611, allocations: 164.5 kB / 409.9 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3611, allocations: 0.9688 kB / 409.9 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3613, allocations: 150 kB / 410 MB, free: 3.797 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3615, allocations: 10.42 kB / 410 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3618, allocations: 190.1 kB / 410.2 MB, free: 3.629 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.362, allocations: 0.6848 MB / 410.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.362e-05/0.362, allocations: 2.344 kB / 410.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3621, allocations: 9.969 kB / 410.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3621, allocations: 0.9688 kB / 410.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of Templates: time 0.003354/0.3654, allocations: 0.6343 MB / 411.5 MB, free: 2.895 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)