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.0008679/0.000868, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 183.8 kB / 16.92 MB, free: 6.906 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.359 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.002837/0.002837, allocations: 0.558 MB / 292.6 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 8 kB / 354 MB, free: 2.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 50.56 MB / 404.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.0022/0.2445, allocations: 1.35 MB / 405.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.2449, allocations: 95.81 kB / 406 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.245, allocations: 5.312 kB / 406 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.2451, allocations: 10.66 kB / 406 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2452, allocations: 22.72 kB / 406 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.2454, allocations: 25.33 kB / 406 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2456, allocations: 101.3 kB / 406.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.2457, allocations: 33.58 kB / 406.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2458, allocations: 30.14 kB / 406.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.2459, allocations: 41.83 kB / 406.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.246, allocations: 9.594 kB / 406.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.246, allocations: 4.531 kB / 406.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.246, allocations: 16.27 kB / 406.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.2461, allocations: 67.48 kB / 406.3 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2463, allocations: 85.2 kB / 406.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2463, allocations: 0 / 406.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2463, allocations: 3.938 kB / 406.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2463, allocations: 5.062 kB / 406.4 MB, free: 9.828 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004917/0.2468, allocations: 384.8 kB / 406.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.2468, allocations: 9.531 kB / 406.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.2469, allocations: 13.67 kB / 406.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2471, allocations: 191 kB / 407 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2471, allocations: 7.375 kB / 407 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.2471, allocations: 10.98 kB / 407 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2474, allocations: 92.05 kB / 407.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2474, allocations: 0.6562 kB / 407.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2474, allocations: 4.531 kB / 407.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2474, allocations: 6.438 kB / 407.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2476, allocations: 58.12 kB / 407.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.2482, allocations: 391.5 kB / 407.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.2484, allocations: 103.9 kB / 407.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.2484, allocations: 41.47 kB / 407.7 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2485, allocations: 1.344 kB / 407.7 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2485, allocations: 32.75 kB / 407.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.2485, allocations: 0 / 407.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001033/0.2495, allocations: 0.6888 MB / 408.4 MB, free: 8.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2496, allocations: 53.5 kB / 408.5 MB, free: 8.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.2497, allocations: 120.2 kB / 408.6 MB, free: 8.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.2497, allocations: 27.33 kB / 408.6 MB, free: 8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.2497, allocations: 103 kB / 408.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.2498, allocations: 56.95 kB / 408.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2498, allocations: 19.25 kB / 408.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.2499, allocations: 324 kB / 409.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.2499, allocations: 37.14 kB / 409.1 MB, free: 7.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.25, allocations: 57.67 kB / 409.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2502, allocations: 103.3 kB / 409.3 MB, free: 7.398 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2502, allocations: 0 / 409.3 MB, free: 7.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002617/0.2504, allocations: 176.5 kB / 409.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2505, allocations: 8.125 kB / 409.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2505, allocations: 0 / 409.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.2506, allocations: 32.03 kB / 409.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2508, allocations: 21.52 kB / 409.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000945/0.2517, allocations: 1.451 MB / 411 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.2518, allocations: 5.812 kB / 411 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2518, allocations: 4 kB / 411 MB, free: 5.836 MB / 286.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 8.336e-05/0.2519, allocations: 135.7 kB / 411.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.2519, allocations: 17.36 kB / 411.1 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.252, allocations: 20.11 kB / 411.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.252, allocations: 1.25 kB / 411.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.252, allocations: 1.844 kB / 411.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.252, allocations: 0.7031 kB / 411.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.2526, allocations: 0.5475 MB / 411.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2526, allocations: 1.375 kB / 411.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2528, allocations: 27.55 kB / 411.7 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/0.2528, allocations: 21.38 kB / 411.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2528, allocations: 6.562 kB / 411.8 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005833/0.2534, allocations: 1.269 MB / 413 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2535, allocations: 1.062 kB / 413 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.2538, allocations: 308.1 kB / 413.3 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.2538, allocations: 85.27 kB / 413.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2538, allocations: 7.359 kB / 413.4 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.2539, allocations: 1.938 kB / 413.4 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.254, allocations: 18.05 kB / 413.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.254, allocations: 5 kB / 413.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.254, allocations: 95.98 kB / 413.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 1 kB / 413.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000324/0.2544, allocations: 29.22 kB / 413.6 MB, free: 3.434 MB / 286.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 9.92e-05/0.2545, allocations: 101.9 kB / 413.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.2549, allocations: 233.7 kB / 413.9 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.2549, allocations: 0 / 413.9 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.255, allocations: 165.1 kB / 414.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2554, allocations: 23.17 kB / 414.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.2561, allocations: 0.4979 MB / 414.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.2563, allocations: 0.7095 MB / 415.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2563, allocations: 13.59 kB / 415.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2563, allocations: 0 / 415.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of Templates: time 0.004871/0.2612, allocations: 1.938 MB / 417.2 MB, free: 1.812 MB / 286.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)