Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007102/0.0007103, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007391/0.0007392, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.406 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.002347/0.002347, allocations: 0.5546 MB / 291.6 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004307, allocations: 8 kB / 352.7 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 50.56 MB / 403.3 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.2141/0.3361, allocations: 1.319 MB / 404.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003423/0.3365, allocations: 96.25 kB / 404.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.3366, allocations: 2.406 kB / 404.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.3366, allocations: 9.484 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.3367, allocations: 27.16 kB / 404.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.3369, allocations: 18.12 kB / 404.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3371, allocations: 102.4 kB / 404.8 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3372, allocations: 31.08 kB / 404.9 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.3373, allocations: 32.19 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3374, allocations: 40.66 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3374, allocations: 5.969 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.3375, allocations: 4.469 kB / 404.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3375, allocations: 14.89 kB / 405 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.3376, allocations: 47.27 kB / 405 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3377, allocations: 84.77 kB / 405.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3377, allocations: 3.938 kB / 405.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3377, allocations: 0.8438 kB / 405.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3377, allocations: 0 / 405.1 MB, free: 9.629 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.0004399/0.3382, allocations: 381.8 kB / 405.5 MB, free: 9.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3382, allocations: 9.516 kB / 405.5 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.3383, allocations: 20.45 kB / 405.5 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3385, allocations: 188.5 kB / 405.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3385, allocations: 7.344 kB / 405.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.3385, allocations: 9.172 kB / 405.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3387, allocations: 95.08 kB / 405.8 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3388, allocations: 1.734 kB / 405.8 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3388, allocations: 3.656 kB / 405.8 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3388, allocations: 6.047 kB / 405.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.339, allocations: 56.58 kB / 405.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.3396, allocations: 392.6 kB / 406.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.3399, allocations: 96.31 kB / 406.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.34, allocations: 37.19 kB / 406.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.34, allocations: 5.219 kB / 406.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.34, allocations: 33.73 kB / 406.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3401, allocations: 0 / 406.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001229/0.3413, allocations: 0.6888 MB / 407.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3413, allocations: 57.59 kB / 407.1 MB, free: 7.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3414, allocations: 120.9 kB / 407.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3415, allocations: 27.34 kB / 407.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3415, allocations: 97.94 kB / 407.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3416, allocations: 60.78 kB / 407.4 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.3416, allocations: 0 / 407.4 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.3416, allocations: 325.7 kB / 407.8 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.3417, allocations: 27.14 kB / 407.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.3418, allocations: 62.53 kB / 407.8 MB, free: 7.336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/0.3419, allocations: 41.61 kB / 407.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3419, allocations: 0 / 407.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002305/0.3421, allocations: 145.5 kB / 408 MB, free: 7.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3422, allocations: 6.484 kB / 408 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3422, allocations: 0 / 408 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3422, allocations: 2.656 kB / 408 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.3424, allocations: 38.16 kB / 408.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3424, allocations: 5.953 kB / 408.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3424, allocations: 6.188 kB / 408.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3425, allocations: 6.938 kB / 408.1 MB, free: 7.223 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/0.3426, allocations: 128.1 kB / 408.2 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.3426, allocations: 13.8 kB / 408.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.3426, allocations: 16.61 kB / 408.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3427, allocations: 1.031 kB / 408.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3427, allocations: 1.031 kB / 408.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3427, allocations: 6.328 kB / 408.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3433, allocations: 0.4886 MB / 408.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3433, allocations: 1.031 kB / 408.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3434, allocations: 27.88 kB / 408.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.3436, allocations: 25.31 kB / 408.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3436, allocations: 2.156 kB / 408.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.3445, allocations: 1.277 MB / 410.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3446, allocations: 1.031 kB / 410.1 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.345, allocations: 309.4 kB / 410.4 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.345, allocations: 84.27 kB / 410.5 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3451, allocations: 2.031 kB / 410.5 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.3452, allocations: 5.188 kB / 410.5 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3452, allocations: 12.91 kB / 410.5 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3452, allocations: 8.156 kB / 410.5 MB, free: 4.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.393e-05/0.3453, allocations: 93.03 kB / 410.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.233e-06/0.3453, allocations: 0 / 410.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.3456, allocations: 32.47 kB / 410.6 MB, free: 4.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.3458, allocations: 103.2 kB / 410.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.346, allocations: 99.25 kB / 410.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.346, allocations: 0 / 410.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.3463, allocations: 164.7 kB / 411 MB, free: 4.633 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3468, allocations: 21.48 kB / 411 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.3475, allocations: 468.9 kB / 411.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3478, allocations: 0.7011 MB / 412.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.097e-05/0.3478, allocations: 11.48 kB / 412.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3479, allocations: 18.47 kB / 412.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3479, allocations: 0 / 412.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of Templates: time 0.004788/0.3527, allocations: 1.197 MB / 413.4 MB, free: 3.488 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)