Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 98.45 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.001448/0.001448, allocations: 177.3 kB / 15.94 MB, free: 228 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.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.002161/0.002161, allocations: 0.554 MB / 291.5 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002716, allocations: 4 kB / 352.6 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08434, allocations: 50.57 MB / 403.1 MB, free: 252 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0005329/0.08491, allocations: 242.2 kB / 403.4 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1373/0.2222, allocations: 19.12 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.2223, allocations: 0.5625 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-06/0.2223, allocations: 3.75 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.849e-05/0.2223, allocations: 1 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.76e-05/0.2224, allocations: 8.531 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.047e-05/0.2225, allocations: 10.16 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.2225, allocations: 3.438 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.2226, allocations: 11.02 kB / 403.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.2226, allocations: 14.72 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2226, allocations: 2.141 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-06/0.2226, allocations: 1.438 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.2227, allocations: 5.812 kB / 403.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.2227, allocations: 36.94 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.991e-05/0.2227, allocations: 6.375 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.2227, allocations: 1.375 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2227, allocations: 0 / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.2227, allocations: 0 / 403.5 MB, free: 9.77 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.0002227/0.223, allocations: 325.5 kB / 403.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.223, allocations: 13.66 kB / 403.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.223, allocations: 9.922 kB / 403.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.2231, allocations: 162 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2231, allocations: 2.688 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2231, allocations: 7.391 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.2232, allocations: 41.69 kB / 404.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2233, allocations: 4.656 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.2233, allocations: 3.25 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2233, allocations: 0.9688 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.2233, allocations: 19.77 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.2235, allocations: 249.1 kB / 404.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.2236, allocations: 49.2 kB / 404.4 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.2236, allocations: 4.219 kB / 404.4 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.2237, allocations: 40.75 kB / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.2237, allocations: 0 / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005242/0.2242, allocations: 0.4985 MB / 404.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.2242, allocations: 53.06 kB / 405 MB, free: 8.336 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.895e-05/0.2243, allocations: 102.1 kB / 405.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2243, allocations: 30.81 kB / 405.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.564e-05/0.2243, allocations: 80.14 kB / 405.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.2243, allocations: 31.53 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.2243, allocations: 0.875 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.2244, allocations: 320.7 kB / 405.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.2244, allocations: 13.73 kB / 405.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.2244, allocations: 31.12 kB / 405.6 MB, free: 7.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2246, allocations: 205.9 kB / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2246, allocations: 0 / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001017/0.2247, allocations: 88.58 kB / 405.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2247, allocations: 4.781 kB / 405.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2248, allocations: 1.344 kB / 405.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2248, allocations: 0.5156 kB / 405.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.2249, allocations: 20.03 kB / 405.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2249, allocations: 4.328 kB / 405.9 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2249, allocations: 8.375 kB / 405.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2249, allocations: 3.219 kB / 405.9 MB, free: 7.527 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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 9.185e-05/0.225, allocations: 115.3 kB / 406 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.225, allocations: 8.578 kB / 406 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.2251, allocations: 10.66 kB / 406 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2251, allocations: 0.9688 kB / 406 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2251, allocations: 0.5312 kB / 406 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2251, allocations: 1.406 kB / 406 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2254, allocations: 372.3 kB / 406.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2254, allocations: 1.922 kB / 406.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.2255, allocations: 11.98 kB / 406.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.2256, allocations: 19.17 kB / 406.4 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2256, allocations: 8.203 kB / 406.4 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005888/0.2262, allocations: 1.297 MB / 407.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2262, allocations: 1 kB / 407.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2264, allocations: 261.5 kB / 408 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2264, allocations: 84.77 kB / 408.1 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.2264, allocations: 5.469 kB / 408.1 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.2265, allocations: 1.938 kB / 408.1 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.2265, allocations: 13.31 kB / 408.1 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2265, allocations: 3.844 kB / 408.1 MB, free: 5.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.2265, allocations: 78.47 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2265, allocations: 1.031 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.2268, allocations: 10.44 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.993e-05/0.2268, allocations: 106.2 kB / 408.3 MB, free: 5.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.2269, allocations: 45.09 kB / 408.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.227, allocations: 3.938 kB / 408.3 MB, free: 5.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.2271, allocations: 150.9 kB / 408.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.2273, allocations: 3.25 kB / 408.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.2275, allocations: 196.9 kB / 408.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.2276, allocations: 0.687 MB / 409.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.85e-05/0.2276, allocations: 4.938 kB / 409.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.2276, allocations: 10.88 kB / 409.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2276, allocations: 0 / 409.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of Templates: time 0.002081/0.2297, allocations: 0.5322 MB / 409.9 MB, free: 4.246 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) Environment - environmentSimulation: