Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001575/0.001575, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 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.00263/0.00263, allocations: 0.5682 MB / 291.7 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 353 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 49.6 MB / 402.6 MB, free: 35.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001442/0.1726, allocations: 0.51 MB / 403.1 MB, free: 35.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.1728, allocations: 23.91 kB / 403.1 MB, free: 35.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1728, allocations: 4 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.1728, allocations: 0 / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.364e-05/0.1728, allocations: 3.938 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.77e-05/0.1729, allocations: 3.984 kB / 403.1 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.173, allocations: 19.98 kB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.173, allocations: 4 kB / 403.2 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.1731, allocations: 11.94 kB / 403.2 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.1731, allocations: 7.922 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1731, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.1731, allocations: 4 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1732, allocations: 4 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.1732, allocations: 15.91 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.139e-05/0.1732, allocations: 11.92 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1732, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1732, allocations: 0 / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1733, allocations: 4 kB / 403.2 MB, free: 35.25 MB / 302.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.0002512/0.1735, allocations: 335.5 kB / 403.5 MB, free: 34.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.1735, allocations: 11.89 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1736, allocations: 0.9375 kB / 403.6 MB, free: 34.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.879e-05/0.1736, allocations: 170.2 kB / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1737, allocations: 384 / 403.7 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1737, allocations: 8.359 kB / 403.7 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.1738, allocations: 50.25 kB / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1738, allocations: 192 / 403.8 MB, free: 34.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.1738, allocations: 7.938 kB / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1738, allocations: 0 / 403.8 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.1738, allocations: 19.92 kB / 403.8 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1741, allocations: 294.3 kB / 404.1 MB, free: 34.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.1742, allocations: 42.5 kB / 404.1 MB, free: 34.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.1742, allocations: 12.95 kB / 404.1 MB, free: 34.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1742, allocations: 7.984 kB / 404.2 MB, free: 34.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.1742, allocations: 34.56 kB / 404.2 MB, free: 34.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1742, allocations: 0 / 404.2 MB, free: 34.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003055/0.1745, allocations: 155.8 kB / 404.3 MB, free: 33.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.1746, allocations: 55.39 kB / 404.4 MB, free: 33.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.1746, allocations: 101.8 kB / 404.5 MB, free: 33.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-06/0.1746, allocations: 25.7 kB / 404.5 MB, free: 33.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.1746, allocations: 95.97 kB / 404.6 MB, free: 33.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1747, allocations: 19.8 kB / 404.6 MB, free: 33.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.1747, allocations: 17.72 kB / 404.7 MB, free: 33.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.006e-05/0.1747, allocations: 314.8 kB / 405 MB, free: 33.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.1748, allocations: 11.98 kB / 405 MB, free: 33.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.1748, allocations: 21.72 kB / 405 MB, free: 33.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.1748, allocations: 37.66 kB / 405 MB, free: 33.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1748, allocations: 0 / 405 MB, free: 33.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001029/0.1749, allocations: 74.47 kB / 405.1 MB, free: 33.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.175, allocations: 8 kB / 405.1 MB, free: 33.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.175, allocations: 0 / 405.1 MB, free: 33.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.1751, allocations: 20.84 kB / 405.1 MB, free: 33.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.1751, allocations: 4 kB / 405.1 MB, free: 33.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005442/0.1757, allocations: 1.339 MB / 406.5 MB, free: 31.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.1757, allocations: 12.09 kB / 406.5 MB, free: 31.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.1757, allocations: 0 / 406.5 MB, free: 31.57 MB / 302.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 4.016e-05/0.1758, allocations: 118.4 kB / 406.6 MB, free: 31.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1758, allocations: 3.938 kB / 406.6 MB, free: 31.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.1758, allocations: 7.5 kB / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1758, allocations: 0 / 406.6 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1758, allocations: 4.109 kB / 406.6 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1758, allocations: 8 kB / 406.6 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.1759, allocations: 161.6 kB / 406.8 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1759, allocations: 0 / 406.8 MB, free: 31.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.176, allocations: 7.938 kB / 406.8 MB, free: 31.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-05/0.176, allocations: 16.84 kB / 406.8 MB, free: 31.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.176, allocations: 0 / 406.8 MB, free: 31.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004678/0.1765, allocations: 1.347 MB / 408.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1765, allocations: 3.938 kB / 408.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1767, allocations: 172.6 kB / 408.3 MB, free: 29.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.1767, allocations: 81.02 kB / 408.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.1767, allocations: 7.875 kB / 408.4 MB, free: 29.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.1767, allocations: 3.984 kB / 408.4 MB, free: 29.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1768, allocations: 8 kB / 408.4 MB, free: 29.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1768, allocations: 0 / 408.4 MB, free: 29.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.575e-05/0.1768, allocations: 83.22 kB / 408.5 MB, free: 29.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 3.938 kB / 408.5 MB, free: 29.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.177, allocations: 4 kB / 408.5 MB, free: 29.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 4.582e-05/0.1771, allocations: 103.3 kB / 408.6 MB, free: 29.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1773, allocations: 134.7 kB / 408.7 MB, free: 29.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1773, allocations: 0 / 408.7 MB, free: 29.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.1774, allocations: 130.6 kB / 408.9 MB, free: 28.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1776, allocations: 4 kB / 408.9 MB, free: 28.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.1778, allocations: 142.8 kB / 409 MB, free: 28.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.533e-05/0.1779, allocations: 0.6834 MB / 409.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.1779, allocations: 4 kB / 409.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.1779, allocations: 7.438 kB / 409.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1779, allocations: 0 / 409.7 MB, free: 28.02 MB / 302.1 MB Notification: Performance of Templates: time 0.002158/0.1801, allocations: 0.5508 MB / 410.3 MB, free: 27.52 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)