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.001573/0.001573, allocations: 106.6 kB / 16.41 MB, free: 6.477 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.001641/0.001641, allocations: 191 kB / 17.34 MB, free: 5.754 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00283/0.00283, allocations: 0.565 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 55.91 kB / 403.1 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07587/0.0772, allocations: 49.61 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002436/0.07967, allocations: 1.63 MB / 454.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002436/0.07993, allocations: 95.62 kB / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.07999, allocations: 0 / 454.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.08005, allocations: 19.84 kB / 454.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.08015, allocations: 27.72 kB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.08027, allocations: 19.97 kB / 454.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.0804, allocations: 107.5 kB / 454.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.08054, allocations: 43.97 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.08061, allocations: 47.8 kB / 454.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.0807, allocations: 43.77 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.08072, allocations: 8 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.08075, allocations: 12 kB / 454.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.08078, allocations: 19.92 kB / 454.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.08083, allocations: 47.8 kB / 454.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.08097, allocations: 107.6 kB / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.08098, allocations: 0 / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.08099, allocations: 3.984 kB / 454.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.081, allocations: 0 / 454.9 MB, free: 12.28 MB / 334.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.0004644/0.08147, allocations: 395.4 kB / 455.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.08151, allocations: 11.89 kB / 455.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.08155, allocations: 12.84 kB / 455.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.08171, allocations: 188.2 kB / 455.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.08173, allocations: 8.562 kB / 455.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.08175, allocations: 8.375 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.08192, allocations: 99.84 kB / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.08194, allocations: 0 / 455.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.08196, allocations: 8 kB / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.08197, allocations: 0 / 455.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.08209, allocations: 59.95 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.08259, allocations: 388.5 kB / 456.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.08276, allocations: 98.5 kB / 456.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.08283, allocations: 41.06 kB / 456.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.08285, allocations: 3.938 kB / 456.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.08287, allocations: 30.56 kB / 456.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.08288, allocations: 0 / 456.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001056/0.08394, allocations: 0.6971 MB / 456.9 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.08398, allocations: 59.39 kB / 457 MB, free: 9.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.08408, allocations: 129.7 kB / 457.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.08411, allocations: 25.7 kB / 457.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.08417, allocations: 104.3 kB / 457.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.08421, allocations: 55.2 kB / 457.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.08426, allocations: 25.72 kB / 457.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.08437, allocations: 326.8 kB / 457.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.08443, allocations: 35.94 kB / 457.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.08451, allocations: 70.48 kB / 457.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.08465, allocations: 94.33 kB / 457.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.08466, allocations: 4 kB / 457.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002482/0.08491, allocations: 170.2 kB / 458 MB, free: 8.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.08493, allocations: 8 kB / 458 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.08494, allocations: 0 / 458 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.08507, allocations: 24.84 kB / 458 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.08519, allocations: 27.98 kB / 458.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.08635, allocations: 1.611 MB / 459.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.08641, allocations: 4 kB / 459.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.08642, allocations: 7.969 kB / 459.7 MB, free: 7.02 MB / 334.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 9.964e-05/0.08653, allocations: 138.4 kB / 459.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.08656, allocations: 7.906 kB / 459.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.0866, allocations: 16.97 kB / 459.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.08661, allocations: 7.984 kB / 459.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.08662, allocations: 0 / 459.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.08662, allocations: 0 / 459.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.08721, allocations: 0.5399 MB / 460.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.08722, allocations: 64 / 460.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.08735, allocations: 39.92 kB / 460.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-05/0.08741, allocations: 16.84 kB / 460.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.08743, allocations: 7.938 kB / 460.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008437/0.08828, allocations: 1.363 MB / 461.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0883, allocations: 0 / 461.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.08863, allocations: 302.8 kB / 462.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.08868, allocations: 92.97 kB / 462.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.0887, allocations: 0 / 462.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.08878, allocations: 8 kB / 462.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.08881, allocations: 15.98 kB / 462.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.08883, allocations: 8 kB / 462.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.08889, allocations: 95.27 kB / 462.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08889, allocations: 0 / 462.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.08919, allocations: 28 kB / 462.4 MB, free: 4.074 MB / 334.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 8.732e-05/0.08929, allocations: 107.1 kB / 462.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.08965, allocations: 226.6 kB / 462.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.08966, allocations: 7.938 kB / 462.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.08984, allocations: 158.6 kB / 462.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.0902, allocations: 23.98 kB / 462.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.09085, allocations: 420.2 kB / 463.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.09111, allocations: 0.7083 MB / 464 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.09115, allocations: 15.44 kB / 464 MB, free: 2.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09115, allocations: 0 / 464 MB, free: 2.32 MB / 334.1 MB Notification: Performance of Templates: time 0.003452/0.09461, allocations: 1.989 MB / 466 MB, free: 352 kB / 334.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)