Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00611/0.00611, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001159/0.001159, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.002589/0.002589, allocations: 0.5579 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.91 kB / 402.4 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07537/0.0765, allocations: 49.59 MB / 452 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001396/0.07793, allocations: 0.5238 MB / 452.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.0781, allocations: 23.92 kB / 452.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.07813, allocations: 0 / 452.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.07815, allocations: 3.938 kB / 452.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.07819, allocations: 0 / 452.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.07831, allocations: 11.97 kB / 452.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.07838, allocations: 15.98 kB / 452.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.07843, allocations: 7.938 kB / 452.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.07846, allocations: 7.938 kB / 452.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.07852, allocations: 7.984 kB / 452.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.07855, allocations: 8 kB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.07856, allocations: 0 / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.07858, allocations: 11.86 kB / 452.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.07862, allocations: 15.92 kB / 452.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.867e-05/0.07868, allocations: 7.938 kB / 452.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.07869, allocations: 0 / 452.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.0787, allocations: 3.984 kB / 452.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.07871, allocations: 0 / 452.6 MB, free: 13.86 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000354/0.07906, allocations: 335.4 kB / 453 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.07911, allocations: 15.89 kB / 453 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.07915, allocations: 8.891 kB / 453 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.07926, allocations: 160.4 kB / 453.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.07928, allocations: 4.375 kB / 453.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.07931, allocations: 4.375 kB / 453.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.07942, allocations: 46.23 kB / 453.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.07944, allocations: 4.188 kB / 453.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.07946, allocations: 7.875 kB / 453.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.07946, allocations: 0 / 453.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.07951, allocations: 15.98 kB / 453.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.07987, allocations: 294.6 kB / 453.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.07997, allocations: 50.5 kB / 453.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.08, allocations: 12.8 kB / 453.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.08001, allocations: 0 / 453.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.08005, allocations: 34.64 kB / 453.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.08005, allocations: 4 kB / 453.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003557/0.08042, allocations: 156 kB / 453.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.08047, allocations: 55.34 kB / 453.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.08054, allocations: 97.84 kB / 453.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.08056, allocations: 29.7 kB / 454 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.08061, allocations: 88.08 kB / 454 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.08063, allocations: 15.84 kB / 454.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.08067, allocations: 21.72 kB / 454.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.08078, allocations: 322.8 kB / 454.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.08081, allocations: 7.984 kB / 454.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.08084, allocations: 25.72 kB / 454.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.0809, allocations: 29.72 kB / 454.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.0809, allocations: 0 / 454.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.615e-05/0.08101, allocations: 65.62 kB / 454.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.08103, allocations: 7.938 kB / 454.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.08104, allocations: 0 / 454.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.08106, allocations: 4 kB / 454.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.08115, allocations: 11.98 kB / 454.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.08116, allocations: 0 / 454.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.08119, allocations: 8 kB / 454.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.0812, allocations: 4.062 kB / 454.6 MB, free: 11.68 MB / 334.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/0.08127, allocations: 118.4 kB / 454.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.08131, allocations: 8.031 kB / 454.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.08134, allocations: 11.48 kB / 454.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.08134, allocations: 0 / 454.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.08135, allocations: 4 kB / 454.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.08136, allocations: 0 / 454.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.08151, allocations: 161.6 kB / 454.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.08152, allocations: 0 / 454.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.08156, allocations: 4 kB / 454.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.0817, allocations: 17.27 kB / 454.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.08172, allocations: 8 kB / 454.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008834/0.08261, allocations: 1.347 MB / 456.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.08262, allocations: 0 / 456.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.08279, allocations: 180.2 kB / 456.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.08283, allocations: 81.09 kB / 456.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.08285, allocations: 0 / 456.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.0829, allocations: 0 / 456.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.08293, allocations: 12.16 kB / 456.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.08293, allocations: 0 / 456.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.988e-05/0.08297, allocations: 79.28 kB / 456.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08297, allocations: 0 / 456.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.0832, allocations: 4 kB / 456.6 MB, free: 9.422 MB / 334.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 8.343e-05/0.08329, allocations: 103.2 kB / 456.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.08338, allocations: 27.92 kB / 456.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.08339, allocations: 64 / 456.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.08357, allocations: 130.6 kB / 456.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.08379, allocations: 10.28 kB / 456.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.084, allocations: 137.9 kB / 457 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.08424, allocations: 0.6807 MB / 457.7 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.08426, allocations: 3.938 kB / 457.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.08428, allocations: 11.44 kB / 457.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08429, allocations: 4 kB / 457.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of Templates: time 0.002305/0.0866, allocations: 479.7 kB / 458.1 MB, free: 7.82 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)