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.001335/0.001335, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001387/0.001387, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.0026/0.0026, allocations: 0.566 MB / 290.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 351.1 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1519, allocations: 49.6 MB / 400.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.002967/0.1549, allocations: 0.5716 MB / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.1552, allocations: 27.91 kB / 401.3 MB, free: 456 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1552, allocations: 0 / 401.3 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.1553, allocations: 0 / 401.3 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/0.1553, allocations: 0 / 401.3 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1555, allocations: 11.98 kB / 401.3 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.1556, allocations: 19.92 kB / 401.3 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.1557, allocations: 0 / 401.3 MB, free: 424 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.1557, allocations: 11.94 kB / 401.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.1558, allocations: 11.92 kB / 401.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1559, allocations: 0 / 401.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.1559, allocations: 4 kB / 401.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1559, allocations: 11.98 kB / 401.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.156, allocations: 11.92 kB / 401.3 MB, free: 372 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.88e-05/0.1561, allocations: 7.922 kB / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1561, allocations: 0 / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1561, allocations: 4 kB / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1561, allocations: 0 / 401.3 MB, free: 360 kB / 286.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.2656/0.4217, allocations: 334.4 kB / 401.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/0.4218, allocations: 12.92 kB / 401.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.4219, allocations: 3.5 kB / 401.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.422, allocations: 165.3 kB / 401.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.422, allocations: 1.125 kB / 401.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.4221, allocations: 3.672 kB / 401.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4223, allocations: 48.94 kB / 401.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4223, allocations: 4.469 kB / 401.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4223, allocations: 5.453 kB / 401.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4223, allocations: 0.8438 kB / 401.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.4224, allocations: 12.81 kB / 401.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.423, allocations: 294.9 kB / 402.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4231, allocations: 47.36 kB / 402.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.4232, allocations: 16.25 kB / 402.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.4232, allocations: 0.9062 kB / 402.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4232, allocations: 31.98 kB / 402.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.006e-06/0.4232, allocations: 0 / 402.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004981/0.4237, allocations: 162.5 kB / 402.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4238, allocations: 56.16 kB / 402.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.4239, allocations: 98.62 kB / 402.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4239, allocations: 26.73 kB / 402.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.4239, allocations: 93.47 kB / 402.7 MB, free: 9.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.424, allocations: 14.14 kB / 402.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.424, allocations: 23.39 kB / 402.8 MB, free: 9.711 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.4241, allocations: 323.3 kB / 403.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.4241, allocations: 5 kB / 403.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.4242, allocations: 25.53 kB / 403.1 MB, free: 9.379 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/0.4243, allocations: 32.91 kB / 403.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4243, allocations: 0.9688 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.799e-05/0.4244, allocations: 64.34 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4244, allocations: 6 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4244, allocations: 0 / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4245, allocations: 1.594 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4246, allocations: 15.77 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4246, allocations: 1.078 kB / 403.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.4246, allocations: 5.5 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4246, allocations: 1.719 kB / 403.2 MB, free: 9.328 MB / 286.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 8.394e-05/0.4247, allocations: 119.5 kB / 403.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.4248, allocations: 6.703 kB / 403.4 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.4248, allocations: 7.422 kB / 403.4 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4248, allocations: 9.094 kB / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4248, allocations: 0 / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4249, allocations: 1.422 kB / 403.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.425, allocations: 159.1 kB / 403.5 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.425, allocations: 5.328 kB / 403.5 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.4251, allocations: 7.031 kB / 403.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.4253, allocations: 19 kB / 403.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4253, allocations: 0.75 kB / 403.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/0.4263, allocations: 1.344 MB / 404.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4263, allocations: 0.5625 kB / 404.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.4265, allocations: 188 kB / 405.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.4266, allocations: 78.53 kB / 405.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.4266, allocations: 2.031 kB / 405.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.4266, allocations: 0.75 kB / 405.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.4267, allocations: 6.469 kB / 405.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.4267, allocations: 1.969 kB / 405.2 MB, free: 7.383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.4267, allocations: 80.03 kB / 405.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4267, allocations: 0.5938 kB / 405.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.4269, allocations: 4.906 kB / 405.3 MB, free: 7.309 MB / 286.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 0.0001324/0.4271, allocations: 103.9 kB / 405.4 MB, free: 7.211 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.4272, allocations: 26.47 kB / 405.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4272, allocations: 0 / 405.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.4275, allocations: 132.6 kB / 405.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4277, allocations: 5.469 kB / 405.5 MB, free: 7.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.428, allocations: 152.6 kB / 405.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4282, allocations: 0.681 MB / 406.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.226e-05/0.4283, allocations: 1.672 kB / 406.4 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.4283, allocations: 9.156 kB / 406.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4283, allocations: 0 / 406.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of Templates: time 0.003615/0.4319, allocations: 473.3 kB / 406.8 MB, free: 6.238 MB / 286.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)