Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.003214/0.003215, allocations: 0.5624 MB / 290.9 MB, free: 1.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 71.89 kB / 351.5 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 49.59 MB / 401.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.2166/0.3512, allocations: 1.645 MB / 402.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.3516, allocations: 93.44 kB / 402.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3517, allocations: 2.344 kB / 402.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.3518, allocations: 13.59 kB / 402.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3519, allocations: 35.11 kB / 402.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.352, allocations: 23.58 kB / 402.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3522, allocations: 109.8 kB / 403.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3524, allocations: 30.05 kB / 403.1 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.3525, allocations: 39.36 kB / 403.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3526, allocations: 45.67 kB / 403.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3526, allocations: 10.19 kB / 403.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.3526, allocations: 8.531 kB / 403.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.3527, allocations: 20.64 kB / 403.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.3528, allocations: 46.56 kB / 403.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3529, allocations: 109.1 kB / 403.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.353, allocations: 0.5312 kB / 403.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.353, allocations: 1.312 kB / 403.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.353, allocations: 0 / 403.4 MB, free: 9.848 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.0004889/0.3535, allocations: 405.3 kB / 403.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3535, allocations: 13.27 kB / 403.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.3536, allocations: 13.8 kB / 403.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3537, allocations: 181.1 kB / 404 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3537, allocations: 8.406 kB / 404 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3538, allocations: 14.69 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.354, allocations: 94.53 kB / 404.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.354, allocations: 6.031 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.354, allocations: 5.125 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.354, allocations: 2.062 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3542, allocations: 57.8 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3547, allocations: 396.3 kB / 404.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.3549, allocations: 104.8 kB / 404.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.355, allocations: 38.25 kB / 404.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.355, allocations: 1.438 kB / 404.7 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3551, allocations: 31.12 kB / 404.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.3551, allocations: 5.406 kB / 404.7 MB, free: 8.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001104/0.3562, allocations: 0.6822 MB / 405.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3562, allocations: 54.27 kB / 405.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.3563, allocations: 132.9 kB / 405.6 MB, free: 7.926 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3563, allocations: 29.7 kB / 405.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.3564, allocations: 103.8 kB / 405.7 MB, free: 7.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.3564, allocations: 54.17 kB / 405.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3565, allocations: 38.52 kB / 405.8 MB, free: 7.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.3566, allocations: 320.4 kB / 406.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.3566, allocations: 37.44 kB / 406.1 MB, free: 7.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.3567, allocations: 54.78 kB / 406.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3569, allocations: 101.3 kB / 406.3 MB, free: 7.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3569, allocations: 4 kB / 406.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001987/0.3571, allocations: 145.9 kB / 406.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3571, allocations: 9.719 kB / 406.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3571, allocations: 1.859 kB / 406.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3571, allocations: 1.094 kB / 406.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3573, allocations: 40.92 kB / 406.5 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3573, allocations: 1.156 kB / 406.5 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.3574, allocations: 5.031 kB / 406.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3574, allocations: 4.953 kB / 406.5 MB, free: 7.195 MB / 286.1 MB 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.3575, allocations: 127.8 kB / 406.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.3575, allocations: 17.19 kB / 406.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.3576, allocations: 15.34 kB / 406.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3576, allocations: 2.156 kB / 406.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3576, allocations: 1.062 kB / 406.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.3576, allocations: 0.9375 kB / 406.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.3582, allocations: 0.4988 MB / 407.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3582, allocations: 1.219 kB / 407.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3583, allocations: 27.33 kB / 407.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.3584, allocations: 21.69 kB / 407.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3584, allocations: 2.188 kB / 407.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007298/0.3592, allocations: 1.376 MB / 408.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3592, allocations: 1.062 kB / 408.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.3595, allocations: 303.6 kB / 408.9 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3595, allocations: 84.08 kB / 409 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3596, allocations: 7.297 kB / 409 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.3597, allocations: 2.469 kB / 409 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3597, allocations: 13.75 kB / 409 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3597, allocations: 7.438 kB / 409 MB, free: 4.844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.3598, allocations: 99.81 kB / 409.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3598, allocations: 0 / 409.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3601, allocations: 32.41 kB / 409.1 MB, free: 4.754 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.3602, allocations: 97.19 kB / 409.2 MB, free: 4.664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3604, allocations: 98.41 kB / 409.3 MB, free: 4.633 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3604, allocations: 3.938 kB / 409.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3607, allocations: 170.2 kB / 409.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3611, allocations: 27.22 kB / 409.5 MB, free: 4.484 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.3617, allocations: 386.9 kB / 409.9 MB, free: 4.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3619, allocations: 0.7037 MB / 410.6 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.3619, allocations: 19.2 kB / 410.6 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.362, allocations: 17.88 kB / 410.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.362, allocations: 2.062 kB / 410.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of Templates: time 0.004689/0.3667, allocations: 1.309 MB / 411.9 MB, free: 3.383 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)