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.001284/0.001284, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001804/0.001804, allocations: 196.8 kB / 16.26 MB, free: 6.617 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.617/1.617, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.004284/0.004284, allocations: 0.5659 MB / 290.6 MB, free: 1.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.84 kB / 351 MB, free: 2.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1527, allocations: 49.6 MB / 400.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.2902/0.443, allocations: 1.697 MB / 402.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.4433, allocations: 93.31 kB / 402.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.4433, allocations: 1.812 kB / 402.4 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.795e-05/0.4434, allocations: 9.641 kB / 402.4 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.4436, allocations: 32 kB / 402.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.4437, allocations: 23.52 kB / 402.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.4439, allocations: 106.2 kB / 402.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.444, allocations: 36.25 kB / 402.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.4441, allocations: 34.52 kB / 402.7 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.4442, allocations: 45.19 kB / 402.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4442, allocations: 8.906 kB / 402.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.4443, allocations: 8.438 kB / 402.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.4443, allocations: 18.36 kB / 402.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.4444, allocations: 52.36 kB / 402.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.4445, allocations: 109.2 kB / 402.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4445, allocations: 1.562 kB / 402.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4445, allocations: 0 / 402.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.4446, allocations: 0 / 402.9 MB, free: 9.809 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.0004668/0.445, allocations: 394.7 kB / 403.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4451, allocations: 13.88 kB / 403.3 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4451, allocations: 15.56 kB / 403.3 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4453, allocations: 190.6 kB / 403.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4453, allocations: 10.05 kB / 403.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.4453, allocations: 13.69 kB / 403.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4455, allocations: 93.55 kB / 403.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4456, allocations: 9.031 kB / 403.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4456, allocations: 3.656 kB / 403.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4456, allocations: 5.328 kB / 403.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.4457, allocations: 57.64 kB / 403.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.4463, allocations: 389.4 kB / 404.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4465, allocations: 101.8 kB / 404.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.4465, allocations: 37.94 kB / 404.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.4466, allocations: 1.641 kB / 404.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4466, allocations: 32.06 kB / 404.2 MB, free: 8.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4466, allocations: 1.031 kB / 404.2 MB, free: 8.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001009/0.4476, allocations: 0.6925 MB / 404.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4476, allocations: 58.92 kB / 405 MB, free: 8.258 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.4477, allocations: 122.7 kB / 405.1 MB, free: 8.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4477, allocations: 26.55 kB / 405.1 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.4478, allocations: 102.6 kB / 405.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.4478, allocations: 54.41 kB / 405.3 MB, free: 8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4479, allocations: 36.94 kB / 405.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.4479, allocations: 320.1 kB / 405.6 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.448, allocations: 36.53 kB / 405.7 MB, free: 7.664 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.4481, allocations: 55.8 kB / 405.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4482, allocations: 103.9 kB / 405.8 MB, free: 7.598 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4482, allocations: 0 / 405.8 MB, free: 7.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002542/0.4485, allocations: 168.3 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4485, allocations: 5.281 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4485, allocations: 1.312 kB / 406 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.4487, allocations: 30.78 kB / 406 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4488, allocations: 28.14 kB / 406.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009248/0.4497, allocations: 1.621 MB / 407.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.4498, allocations: 5.188 kB / 407.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4498, allocations: 9.438 kB / 407.7 MB, free: 5.867 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.211e-05/0.4499, allocations: 134.8 kB / 407.8 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4499, allocations: 10.09 kB / 407.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.45, allocations: 14.88 kB / 407.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.45, allocations: 2.375 kB / 407.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.45, allocations: 1.219 kB / 407.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.45, allocations: 1.312 kB / 407.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.4505, allocations: 0.5449 MB / 408.4 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4506, allocations: 1.188 kB / 408.4 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.4507, allocations: 27.81 kB / 408.4 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/0.4508, allocations: 22 kB / 408.5 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4508, allocations: 10.66 kB / 408.5 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/0.4514, allocations: 1.365 MB / 409.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4514, allocations: 1.062 kB / 409.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.4517, allocations: 309.2 kB / 410.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.4517, allocations: 85.69 kB / 410.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4518, allocations: 6.875 kB / 410.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.4518, allocations: 1 kB / 410.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.4519, allocations: 23.39 kB / 410.3 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4519, allocations: 7.875 kB / 410.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.4519, allocations: 93.33 kB / 410.3 MB, free: 3.375 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4519, allocations: 0 / 410.3 MB, free: 3.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.4522, allocations: 32.44 kB / 410.4 MB, free: 3.371 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.473e-05/0.4523, allocations: 102.8 kB / 410.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.4527, allocations: 219.5 kB / 410.7 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4527, allocations: 4.062 kB / 410.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.4529, allocations: 173.6 kB / 410.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.4534, allocations: 26.02 kB / 410.9 MB, free: 2.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.4541, allocations: 440.1 kB / 411.3 MB, free: 2.637 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.4543, allocations: 0.713 MB / 412 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.4543, allocations: 9.062 kB / 412 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4544, allocations: 17.88 kB / 412.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4544, allocations: 0 / 412.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of Templates: time 0.004772/0.4591, allocations: 1.377 MB / 413.4 MB, free: 1.828 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)