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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 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.00178/0.00178, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.509/1.509, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.003475/0.003475, allocations: 0.5698 MB / 290.9 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 351.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1279, allocations: 49.59 MB / 401.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.2515/0.3794, allocations: 1.639 MB / 402.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.3797, allocations: 94.59 kB / 402.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.3798, allocations: 1.656 kB / 402.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.448e-05/0.3799, allocations: 14.05 kB / 402.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3801, allocations: 27.33 kB / 402.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3802, allocations: 36.39 kB / 402.9 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3804, allocations: 103.5 kB / 403 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3806, allocations: 31.69 kB / 403.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.3807, allocations: 36.22 kB / 403.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3808, allocations: 48.03 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3808, allocations: 9.031 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.3808, allocations: 9.031 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.3809, allocations: 20.05 kB / 403.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3809, allocations: 45.77 kB / 403.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3811, allocations: 114.5 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3811, allocations: 0.5312 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3811, allocations: 0 / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3812, allocations: 4.438 kB / 403.4 MB, free: 9.848 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.0004829/0.3816, allocations: 397.2 kB / 403.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3817, allocations: 13.55 kB / 403.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.3818, allocations: 14.69 kB / 403.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3819, allocations: 184.4 kB / 404 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3819, allocations: 12.12 kB / 404 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.382, allocations: 15.25 kB / 404 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3822, allocations: 92.73 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3822, allocations: 2.109 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.3822, allocations: 5.25 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3822, allocations: 2.094 kB / 404.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3824, allocations: 58.53 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3829, allocations: 389 kB / 404.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3832, allocations: 106.6 kB / 404.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.3832, allocations: 39.27 kB / 404.7 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3833, allocations: 0.75 kB / 404.7 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3833, allocations: 40.25 kB / 404.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3833, allocations: 0 / 404.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00112/0.3844, allocations: 0.6821 MB / 405.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3845, allocations: 53.62 kB / 405.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.3845, allocations: 128 kB / 405.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3846, allocations: 31.92 kB / 405.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3846, allocations: 102.8 kB / 405.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.3847, allocations: 51.31 kB / 405.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.3847, allocations: 30.19 kB / 405.8 MB, free: 7.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.3848, allocations: 320.9 kB / 406.1 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.3849, allocations: 37.02 kB / 406.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.3849, allocations: 57.66 kB / 406.2 MB, free: 7.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3851, allocations: 104.9 kB / 406.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3851, allocations: 0 / 406.3 MB, free: 7.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002576/0.3854, allocations: 164.2 kB / 406.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3854, allocations: 7.969 kB / 406.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3854, allocations: 0 / 406.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.3856, allocations: 40.56 kB / 406.5 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3857, allocations: 27.12 kB / 406.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.3867, allocations: 1.616 MB / 408.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.3867, allocations: 6.234 kB / 408.1 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3867, allocations: 8 kB / 408.1 MB, free: 5.629 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.135e-05/0.3868, allocations: 135.5 kB / 408.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3869, allocations: 13.12 kB / 408.3 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.3869, allocations: 24.03 kB / 408.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3869, allocations: 2.078 kB / 408.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3869, allocations: 0.8438 kB / 408.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3869, allocations: 1.75 kB / 408.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.3875, allocations: 0.5444 MB / 408.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3875, allocations: 1.625 kB / 408.9 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3877, allocations: 33.06 kB / 408.9 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.95e-05/0.3877, allocations: 16.55 kB / 408.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3877, allocations: 9.219 kB / 408.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006098/0.3884, allocations: 1.366 MB / 410.3 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3884, allocations: 5.438 kB / 410.3 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3887, allocations: 300.2 kB / 410.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3887, allocations: 86.83 kB / 410.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3888, allocations: 5.359 kB / 410.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3889, allocations: 9.875 kB / 410.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3889, allocations: 12.83 kB / 410.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3889, allocations: 7.906 kB / 410.7 MB, free: 3.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.813e-05/0.389, allocations: 95.66 kB / 410.8 MB, free: 3.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.389, allocations: 0 / 410.8 MB, free: 3.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.3894, allocations: 29.22 kB / 410.8 MB, free: 3.129 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 0.0001179/0.3895, allocations: 106.7 kB / 410.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.3899, allocations: 223 kB / 411.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3899, allocations: 0 / 411.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3901, allocations: 169.1 kB / 411.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.3905, allocations: 20.73 kB / 411.3 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.3911, allocations: 399 kB / 411.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3913, allocations: 0.7046 MB / 412.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.3914, allocations: 17.52 kB / 412.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.3914, allocations: 17.91 kB / 412.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3914, allocations: 0.9688 kB / 412.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of Templates: time 0.004695/0.3961, allocations: 1.38 MB / 413.8 MB, free: 1.617 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)