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.0007353/0.0007353, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004281/0.004281, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.002161/0.002161, allocations: 0.5469 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 8 kB / 353.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3284, allocations: 50.56 MB / 403.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002161/0.3306, allocations: 1.355 MB / 405.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.3309, allocations: 95.17 kB / 405.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.331, allocations: 1.656 kB / 405.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.331, allocations: 11.39 kB / 405.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3311, allocations: 25.38 kB / 405.3 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.3313, allocations: 23.41 kB / 405.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.3314, allocations: 104.3 kB / 405.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3316, allocations: 31.23 kB / 405.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.3316, allocations: 32.27 kB / 405.5 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3318, allocations: 42.33 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3318, allocations: 4.188 kB / 405.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.3318, allocations: 8.75 kB / 405.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.3319, allocations: 15.7 kB / 405.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3319, allocations: 69.62 kB / 405.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.3321, allocations: 103.5 kB / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3322, allocations: 0.8438 kB / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3322, allocations: 0 / 405.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3322, allocations: 5 kB / 405.8 MB, free: 9.812 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.0004143/0.3326, allocations: 384.9 kB / 406.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3326, allocations: 9.062 kB / 406.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3327, allocations: 10.06 kB / 406.2 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3328, allocations: 193.7 kB / 406.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3328, allocations: 10.44 kB / 406.4 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3329, allocations: 9.312 kB / 406.4 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3331, allocations: 95.91 kB / 406.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3331, allocations: 0.6875 kB / 406.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3331, allocations: 4.625 kB / 406.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3331, allocations: 2 kB / 406.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3333, allocations: 60.95 kB / 406.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.3338, allocations: 394.2 kB / 406.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.334, allocations: 99.58 kB / 407 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.3341, allocations: 42.27 kB / 407.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3342, allocations: 1.875 kB / 407.1 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3342, allocations: 40.31 kB / 407.1 MB, free: 8.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.3342, allocations: 0 / 407.1 MB, free: 8.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001278/0.3355, allocations: 0.6865 MB / 407.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3355, allocations: 55.17 kB / 407.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3356, allocations: 119.2 kB / 408 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3357, allocations: 31.67 kB / 408 MB, free: 7.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3357, allocations: 97.59 kB / 408.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.3358, allocations: 59.23 kB / 408.1 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3358, allocations: 21.17 kB / 408.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.3359, allocations: 319.8 kB / 408.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.336, allocations: 39.92 kB / 408.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3361, allocations: 61.28 kB / 408.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3363, allocations: 99.67 kB / 408.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3363, allocations: 0 / 408.7 MB, free: 7.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002565/0.3366, allocations: 142.3 kB / 408.8 MB, free: 7.289 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.3366, allocations: 8.375 kB / 408.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3367, allocations: 1.031 kB / 408.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3367, allocations: 7.297 kB / 408.8 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3369, allocations: 39.14 kB / 408.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3369, allocations: 6.828 kB / 408.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.337, allocations: 5.062 kB / 408.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.337, allocations: 4.469 kB / 408.9 MB, free: 7.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.3371, allocations: 123.4 kB / 409 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3371, allocations: 13.27 kB / 409 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.3372, allocations: 23.58 kB / 409 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3372, allocations: 5.969 kB / 409 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3372, allocations: 1.891 kB / 409 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3372, allocations: 4.688 kB / 409.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.3379, allocations: 0.4944 MB / 409.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3379, allocations: 5.484 kB / 409.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3381, allocations: 23.97 kB / 409.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.3382, allocations: 21.19 kB / 409.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3382, allocations: 6.094 kB / 409.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007395/0.339, allocations: 1.275 MB / 410.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.339, allocations: 1.219 kB / 410.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.3393, allocations: 308.2 kB / 411.2 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.3393, allocations: 90 kB / 411.3 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3394, allocations: 7.344 kB / 411.3 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.3394, allocations: 1.156 kB / 411.3 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.3395, allocations: 18.73 kB / 411.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3395, allocations: 4.219 kB / 411.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.3395, allocations: 101.2 kB / 411.4 MB, free: 4.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 1.094 kB / 411.4 MB, free: 4.918 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3398, allocations: 27.31 kB / 411.4 MB, free: 4.914 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 (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 9.243e-05/0.3399, allocations: 100.3 kB / 411.5 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3401, allocations: 90.7 kB / 411.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3401, allocations: 1.344 kB / 411.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.3404, allocations: 170.2 kB / 411.8 MB, free: 4.664 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3408, allocations: 25.92 kB / 411.8 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.3414, allocations: 476.2 kB / 412.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.3416, allocations: 0.7023 MB / 413 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.3417, allocations: 18.34 kB / 413 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3417, allocations: 15.03 kB / 413 MB, free: 3.586 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3417, allocations: 0 / 413 MB, free: 3.586 MB / 286.1 MB Notification: Performance of Templates: time 0.004241/0.346, allocations: 1.228 MB / 414.2 MB, free: 3.516 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)