Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 107.5 kB / 15.98 MB, free: 5.914 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.001635/0.001635, allocations: 189.8 kB / 16.9 MB, free: 5.758 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00262/0.00262, allocations: 0.5692 MB / 291.3 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 55.91 kB / 351.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2022, allocations: 49.59 MB / 401.3 MB, free: 36.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002306/0.2046, allocations: 1.699 MB / 403 MB, free: 34.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.2048, allocations: 95.62 kB / 403.1 MB, free: 34.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.2049, allocations: 4 kB / 403.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.2049, allocations: 7.922 kB / 403.1 MB, free: 34.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.205, allocations: 31.27 kB / 403.1 MB, free: 34.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2052, allocations: 19.98 kB / 403.2 MB, free: 34.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.2053, allocations: 103.5 kB / 403.3 MB, free: 34.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2054, allocations: 39.95 kB / 403.3 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.2055, allocations: 39.8 kB / 403.3 MB, free: 34.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.2055, allocations: 47.84 kB / 403.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2056, allocations: 8 kB / 403.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.2056, allocations: 11.94 kB / 403.4 MB, free: 34.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.2056, allocations: 19.92 kB / 403.4 MB, free: 34.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2057, allocations: 51.73 kB / 403.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.2058, allocations: 81.77 kB / 403.6 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2058, allocations: 0 / 403.6 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2058, allocations: 4 kB / 403.6 MB, free: 33.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2058, allocations: 0 / 403.6 MB, free: 33.96 MB / 302.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.0004063/0.2062, allocations: 395.4 kB / 403.9 MB, free: 33.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2062, allocations: 15.89 kB / 404 MB, free: 33.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2063, allocations: 12.75 kB / 404 MB, free: 33.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2064, allocations: 192.2 kB / 404.2 MB, free: 33.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.2064, allocations: 8.562 kB / 404.2 MB, free: 33.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.2065, allocations: 16.28 kB / 404.2 MB, free: 33.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2066, allocations: 87.3 kB / 404.3 MB, free: 33.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2066, allocations: 3.984 kB / 404.3 MB, free: 33.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2067, allocations: 8 kB / 404.3 MB, free: 33.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2067, allocations: 4 kB / 404.3 MB, free: 33.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.2068, allocations: 59.91 kB / 404.3 MB, free: 33.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.2072, allocations: 380.6 kB / 404.7 MB, free: 32.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2074, allocations: 106.5 kB / 404.8 MB, free: 32.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.2074, allocations: 36.84 kB / 404.9 MB, free: 32.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2074, allocations: 0 / 404.9 MB, free: 32.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2075, allocations: 38.78 kB / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.2075, allocations: 0 / 404.9 MB, free: 32.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008628/0.2083, allocations: 0.6888 MB / 405.6 MB, free: 31.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2084, allocations: 55.41 kB / 405.6 MB, free: 31.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.2084, allocations: 117.8 kB / 405.8 MB, free: 31.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2085, allocations: 29.7 kB / 405.8 MB, free: 31.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2085, allocations: 100.3 kB / 405.9 MB, free: 31.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.2085, allocations: 51.25 kB / 405.9 MB, free: 31.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.2086, allocations: 41.66 kB / 406 MB, free: 31.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.2086, allocations: 330.8 kB / 406.3 MB, free: 30.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.2087, allocations: 35.92 kB / 406.3 MB, free: 30.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.2087, allocations: 54.56 kB / 406.4 MB, free: 30.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.2089, allocations: 94.56 kB / 406.5 MB, free: 30.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2089, allocations: 0 / 406.5 MB, free: 30.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002081/0.2091, allocations: 178.2 kB / 406.6 MB, free: 30.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2091, allocations: 4 kB / 406.7 MB, free: 30.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.2091, allocations: 7.938 kB / 406.7 MB, free: 30.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.2092, allocations: 24.84 kB / 406.7 MB, free: 30.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2093, allocations: 27.97 kB / 406.7 MB, free: 30.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007989/0.2102, allocations: 1.619 MB / 408.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.2102, allocations: 8.047 kB / 408.3 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2102, allocations: 8 kB / 408.3 MB, free: 28.69 MB / 302.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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.2103, allocations: 133.7 kB / 408.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2103, allocations: 7.906 kB / 408.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.2104, allocations: 12.84 kB / 408.5 MB, free: 28.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2104, allocations: 4 kB / 408.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2104, allocations: 0 / 408.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2104, allocations: 64 / 408.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2108, allocations: 0.5478 MB / 409 MB, free: 27.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2109, allocations: 0 / 409 MB, free: 27.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.211, allocations: 27.98 kB / 409.1 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.211, allocations: 24.94 kB / 409.1 MB, free: 27.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.211, allocations: 3.938 kB / 409.1 MB, free: 27.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005413/0.2116, allocations: 1.371 MB / 410.5 MB, free: 26.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2116, allocations: 0 / 410.5 MB, free: 26.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2119, allocations: 313.4 kB / 410.8 MB, free: 26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.2119, allocations: 85.05 kB / 410.9 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2119, allocations: 4 kB / 410.9 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.212, allocations: 4 kB / 410.9 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.212, allocations: 19.86 kB / 410.9 MB, free: 25.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.212, allocations: 4 kB / 410.9 MB, free: 25.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.2121, allocations: 99.33 kB / 411 MB, free: 25.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2121, allocations: 0 / 411 MB, free: 25.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.2124, allocations: 32 kB / 411 MB, free: 25.73 MB / 302.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 7.677e-05/0.2125, allocations: 99.19 kB / 411.1 MB, free: 25.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.2128, allocations: 218.6 kB / 411.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2128, allocations: 0 / 411.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2129, allocations: 185.5 kB / 411.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.2133, allocations: 21.84 kB / 411.5 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.2139, allocations: 464.1 kB / 412 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.214, allocations: 0.7084 MB / 412.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.214, allocations: 11.44 kB / 412.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.214, allocations: 4 kB / 412.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of Templates: time 0.002933/0.217, allocations: 1.963 MB / 414.7 MB, free: 21.99 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)