Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001573/0.001573, allocations: 192.1 kB / 16.13 MB, free: 6.715 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.621/1.621, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.003832/0.003832, allocations: 0.5661 MB / 290.5 MB, free: 1.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.09 kB / 350.9 MB, free: 2.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 49.6 MB / 400.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.002096/0.1354, allocations: 0.5772 MB / 401 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001885/0.1356, allocations: 19.92 kB / 401.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.1357, allocations: 0 / 401.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.1357, allocations: 0 / 401.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.1357, allocations: 3.938 kB / 401.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1359, allocations: 15.97 kB / 401.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.136, allocations: 15.98 kB / 401.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.1361, allocations: 4 kB / 401.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.1361, allocations: 11.94 kB / 401.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.1362, allocations: 11.92 kB / 401.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.1362, allocations: 4 kB / 401.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.1362, allocations: 0 / 401.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1363, allocations: 0 / 401.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.1363, allocations: 15.92 kB / 401.1 MB, free: 496 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.828e-05/0.1364, allocations: 11.92 kB / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1364, allocations: 0 / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1364, allocations: 0 / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1364, allocations: 0 / 401.2 MB, free: 484 kB / 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.0005767/0.137, allocations: 339.8 kB / 401.5 MB, free: 92 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.1371, allocations: 8.031 kB / 401.5 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1371, allocations: 4.938 kB / 401.5 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3045/0.4416, allocations: 163.8 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.4417, allocations: 5.281 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.4417, allocations: 7.406 kB / 401.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4419, allocations: 41.84 kB / 401.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4419, allocations: 0.9375 kB / 401.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4419, allocations: 1.344 kB / 401.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.442, allocations: 4.625 kB / 401.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.442, allocations: 19.2 kB / 401.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.4425, allocations: 290.5 kB / 402 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4426, allocations: 40.55 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.4427, allocations: 13.69 kB / 402.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4427, allocations: 1.094 kB / 402.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4427, allocations: 40.95 kB / 402.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.4427, allocations: 1.531 kB / 402.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004146/0.4431, allocations: 161.8 kB / 402.3 MB, free: 10.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.4432, allocations: 52.56 kB / 402.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.4433, allocations: 99.67 kB / 402.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4433, allocations: 28.7 kB / 402.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.4433, allocations: 98.94 kB / 402.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.4434, allocations: 15.39 kB / 402.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.4434, allocations: 20.08 kB / 402.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.4435, allocations: 318.4 kB / 402.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.4436, allocations: 13.12 kB / 402.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.4436, allocations: 21.28 kB / 402.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.4437, allocations: 37.12 kB / 403 MB, free: 9.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4437, allocations: 4.656 kB / 403 MB, free: 9.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001577/0.4438, allocations: 71.2 kB / 403 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4439, allocations: 5.094 kB / 403 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4439, allocations: 0 / 403 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.444, allocations: 20.27 kB / 403.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.4441, allocations: 5.766 kB / 403.1 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/0.445, allocations: 1.253 MB / 404.3 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.445, allocations: 8.969 kB / 404.3 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4451, allocations: 2.688 kB / 404.3 MB, free: 8.199 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.974e-05/0.4451, allocations: 115.9 kB / 404.4 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4452, allocations: 4.156 kB / 404.4 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.4452, allocations: 5.234 kB / 404.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.4452, allocations: 1 kB / 404.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4452, allocations: 4.719 kB / 404.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4452, allocations: 0.5156 kB / 404.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.4454, allocations: 163.6 kB / 404.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4454, allocations: 0 / 404.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4454, allocations: 3.766 kB / 404.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.4455, allocations: 22.91 kB / 404.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4455, allocations: 1.797 kB / 404.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000708/0.4462, allocations: 1.252 MB / 405.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4462, allocations: 0.5 kB / 405.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.4465, allocations: 175.5 kB / 406.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.4465, allocations: 82.97 kB / 406.2 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.4465, allocations: 1.922 kB / 406.2 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.4466, allocations: 3.188 kB / 406.2 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.4466, allocations: 8.578 kB / 406.2 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.4466, allocations: 1.969 kB / 406.2 MB, free: 6.355 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.4466, allocations: 81.61 kB / 406.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4467, allocations: 0.5312 kB / 406.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.4469, allocations: 9.312 kB / 406.3 MB, free: 6.281 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 (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.0001067/0.447, allocations: 96.42 kB / 406.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.4473, allocations: 141.1 kB / 406.5 MB, free: 6.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4473, allocations: 4.625 kB / 406.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.4475, allocations: 127.8 kB / 406.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4477, allocations: 5.875 kB / 406.6 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.4481, allocations: 148.1 kB / 406.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.4483, allocations: 0.6883 MB / 407.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.968e-05/0.4483, allocations: 0.7969 kB / 407.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.4483, allocations: 9.25 kB / 407.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4483, allocations: 0 / 407.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of Templates: time 0.003757/0.4521, allocations: 0.5267 MB / 408 MB, free: 5.102 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)