Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 100.8 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.0008225/0.0008225, allocations: 177.3 kB / 15.94 MB, free: 220 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.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.00216/0.00216, allocations: 0.5583 MB / 291.5 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002738, allocations: 8 kB / 352.6 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.08156, allocations: 50.57 MB / 403.1 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.000484/0.08207, allocations: 238.3 kB / 403.4 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.08219, allocations: 27.92 kB / 403.4 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.08222, allocations: 0 / 403.4 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.496e-06/0.08224, allocations: 0 / 403.4 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.08227, allocations: 3.938 kB / 403.4 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1331/0.2154, allocations: 5.422 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.2155, allocations: 7.266 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.2155, allocations: 1.938 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.2155, allocations: 7.891 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.2156, allocations: 10.62 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2156, allocations: 3.625 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.2156, allocations: 1.406 kB / 403.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.2156, allocations: 7.75 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.2157, allocations: 27.11 kB / 403.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.989e-05/0.2157, allocations: 10.2 kB / 403.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.2157, allocations: 1.094 kB / 403.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2157, allocations: 3.094 kB / 403.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.2157, allocations: 0 / 403.5 MB, free: 9.781 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.0002329/0.216, allocations: 322.1 kB / 403.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.216, allocations: 13.42 kB / 403.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.216, allocations: 13.77 kB / 403.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.16e-05/0.2161, allocations: 162.3 kB / 404 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2161, allocations: 4.188 kB / 404 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2161, allocations: 3.5 kB / 404 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.301e-05/0.2162, allocations: 45.56 kB / 404 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2163, allocations: 1.656 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.2163, allocations: 0 / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2163, allocations: 0.875 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.2163, allocations: 19.69 kB / 404.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.2166, allocations: 299.6 kB / 404.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.2167, allocations: 42.64 kB / 404.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.2167, allocations: 5.031 kB / 404.4 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.2167, allocations: 31.89 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2167, allocations: 0 / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003169/0.2171, allocations: 167.2 kB / 404.6 MB, free: 8.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.2171, allocations: 51.94 kB / 404.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.073e-05/0.2171, allocations: 101.8 kB / 404.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.2171, allocations: 32.02 kB / 404.8 MB, free: 8.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.2172, allocations: 81.64 kB / 404.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.2172, allocations: 15.44 kB / 404.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2172, allocations: 0.625 kB / 404.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.221e-05/0.2172, allocations: 316.2 kB / 405.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.2173, allocations: 8.703 kB / 405.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.2173, allocations: 21.73 kB / 405.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.2173, allocations: 16.23 kB / 405.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2173, allocations: 0 / 405.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.633e-05/0.2174, allocations: 63.73 kB / 405.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2174, allocations: 9.891 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2174, allocations: 0.8438 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2174, allocations: 1.125 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.2175, allocations: 15.36 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2175, allocations: 2.047 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.2176, allocations: 1.125 kB / 405.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2176, allocations: 7.891 kB / 405.3 MB, free: 8.023 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2176, allocations: 111.9 kB / 405.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.2176, allocations: 1.844 kB / 405.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.2177, allocations: 8.109 kB / 405.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2177, allocations: 1.156 kB / 405.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2177, allocations: 0.5938 kB / 405.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2177, allocations: 1.484 kB / 405.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2178, allocations: 163.3 kB / 405.6 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2178, allocations: 1.469 kB / 405.6 MB, free: 7.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.2178, allocations: 15.69 kB / 405.6 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.218, allocations: 15.98 kB / 405.6 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.218, allocations: 4.656 kB / 405.7 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/0.2185, allocations: 1.26 MB / 406.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2185, allocations: 0.75 kB / 406.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.2187, allocations: 169.8 kB / 407.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.2187, allocations: 87.83 kB / 407.2 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.2187, allocations: 1.531 kB / 407.2 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.2188, allocations: 5 kB / 407.2 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2188, allocations: 7.625 kB / 407.2 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.2188, allocations: 1.469 kB / 407.2 MB, free: 6.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.784e-05/0.2188, allocations: 82.11 kB / 407.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2188, allocations: 0.8125 kB / 407.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.219, allocations: 4.406 kB / 407.3 MB, free: 6.094 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.6e-05/0.2191, allocations: 98.27 kB / 407.4 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.2192, allocations: 30.45 kB / 407.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2192, allocations: 0 / 407.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2193, allocations: 129 kB / 407.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.2194, allocations: 1.875 kB / 407.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.2196, allocations: 149.7 kB / 407.7 MB, free: 5.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.496e-05/0.2197, allocations: 0.6879 MB / 408.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.368e-05/0.2197, allocations: 1.734 kB / 408.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.2197, allocations: 13.11 kB / 408.4 MB, free: 5.039 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2197, allocations: 1.031 kB / 408.4 MB, free: 5.039 MB / 286.1 MB Notification: Performance of Templates: time 0.001959/0.2217, allocations: 437 kB / 408.8 MB, free: 5.02 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) Environment - environmentSimulation: