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.0009938/0.0009938, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008157/0.0008157, allocations: 177.3 kB / 15.95 MB, free: 216 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.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.002133/0.002133, allocations: 0.5469 MB / 291.5 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 8 kB / 352.6 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08747, allocations: 50.57 MB / 403.2 MB, free: 260 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0005364/0.08805, allocations: 234.4 kB / 403.4 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.08818, allocations: 23.91 kB / 403.4 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.08821, allocations: 0 / 403.4 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1394/0.2276, allocations: 4.109 kB / 403.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.2277, allocations: 1.406 kB / 403.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.2278, allocations: 1.156 kB / 403.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.2279, allocations: 10.69 kB / 403.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.2279, allocations: 2.266 kB / 403.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.228, allocations: 14.84 kB / 403.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.228, allocations: 8.406 kB / 403.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.228, allocations: 1.25 kB / 403.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.2281, allocations: 1.406 kB / 403.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2281, allocations: 5.828 kB / 403.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.2281, allocations: 29.52 kB / 403.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.301e-05/0.2281, allocations: 9.062 kB / 403.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.2281, allocations: 1.656 kB / 403.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2282, allocations: 0 / 403.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2282, allocations: 0 / 403.5 MB, free: 9.746 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.0002522/0.2284, allocations: 328.2 kB / 403.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2285, allocations: 9.781 kB / 403.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.2285, allocations: 12.81 kB / 403.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.504e-05/0.2286, allocations: 164.7 kB / 404 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2286, allocations: 6.656 kB / 404 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2286, allocations: 3.172 kB / 404 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.2287, allocations: 44.23 kB / 404 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2287, allocations: 1.797 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2288, allocations: 1.188 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2288, allocations: 0.5312 kB / 404.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.2288, allocations: 20.69 kB / 404.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.2291, allocations: 297.4 kB / 404.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.2292, allocations: 44.61 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2292, allocations: 0.5 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.2293, allocations: 31.86 kB / 404.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2293, allocations: 1 kB / 404.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003429/0.2296, allocations: 168.1 kB / 404.6 MB, free: 8.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.2296, allocations: 52.38 kB / 404.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.325e-05/0.2297, allocations: 99.72 kB / 404.8 MB, free: 8.488 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2297, allocations: 25.7 kB / 404.8 MB, free: 8.457 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.2297, allocations: 82.8 kB / 404.9 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2297, allocations: 15.28 kB / 404.9 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.2298, allocations: 0 / 404.9 MB, free: 8.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.2298, allocations: 321 kB / 405.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.2298, allocations: 5.578 kB / 405.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.2298, allocations: 24.44 kB / 405.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.2299, allocations: 11.77 kB / 405.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2299, allocations: 0 / 405.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000117/0.23, allocations: 78.88 kB / 405.3 MB, free: 7.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.23, allocations: 5.219 kB / 405.3 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.23, allocations: 5.375 kB / 405.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.2302, allocations: 19.17 kB / 405.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.2302, allocations: 10.64 kB / 405.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006161/0.2308, allocations: 1.26 MB / 406.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.2309, allocations: 1.25 kB / 406.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2309, allocations: 1.906 kB / 406.6 MB, free: 6.699 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.2309, allocations: 123.7 kB / 406.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.231, allocations: 5.531 kB / 406.7 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.231, allocations: 6.828 kB / 406.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.231, allocations: 5.25 kB / 406.7 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.231, allocations: 0 / 406.7 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.231, allocations: 0.5625 kB / 406.7 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2311, allocations: 160.1 kB / 406.9 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2311, allocations: 5.078 kB / 406.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.2312, allocations: 3.172 kB / 406.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-05/0.2312, allocations: 16.14 kB / 406.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2312, allocations: 0 / 406.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005106/0.2318, allocations: 1.259 MB / 408.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2318, allocations: 0 / 408.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2319, allocations: 183.1 kB / 408.4 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.2319, allocations: 79.09 kB / 408.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-06/0.2319, allocations: 1.938 kB / 408.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.232, allocations: 2.312 kB / 408.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.232, allocations: 3.516 kB / 408.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.232, allocations: 1.984 kB / 408.5 MB, free: 4.852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.2321, allocations: 82.09 kB / 408.5 MB, free: 4.777 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2321, allocations: 64 / 408.5 MB, free: 4.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.2323, allocations: 9.906 kB / 408.5 MB, free: 4.773 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.72e-05/0.2323, allocations: 95.72 kB / 408.6 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.2326, allocations: 142.1 kB / 408.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2326, allocations: 0.5938 kB / 408.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.2327, allocations: 132.2 kB / 408.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.2328, allocations: 12.97 kB / 408.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.233, allocations: 147.2 kB / 409.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.2331, allocations: 0.6845 MB / 409.7 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.2331, allocations: 1.875 kB / 409.7 MB, free: 3.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.2331, allocations: 8.469 kB / 409.8 MB, free: 3.609 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.2331, allocations: 5.094 kB / 409.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of Templates: time 0.002162/0.2353, allocations: 0.5068 MB / 410.3 MB, free: 3.578 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: