Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007299/0.0007301, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008796/0.0008798, allocations: 172.7 kB / 15.95 MB, free: 208 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.526/1.526, allocations: 223.3 MB / 240 MB, free: 5.402 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.003428/0.003428, allocations: 0.5508 MB / 291.6 MB, free: 1.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 352.7 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 50.57 MB / 403.3 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.2973/0.4326, allocations: 1.309 MB / 404.6 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004084/0.433, allocations: 97.47 kB / 404.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.4331, allocations: 5.812 kB / 404.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.4332, allocations: 10.02 kB / 404.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.4333, allocations: 22.53 kB / 404.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.4335, allocations: 20.8 kB / 404.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.4337, allocations: 100.2 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.4339, allocations: 29.61 kB / 404.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.4341, allocations: 36.05 kB / 404.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.4342, allocations: 37.73 kB / 404.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.4342, allocations: 9.125 kB / 404.9 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.4343, allocations: 3.969 kB / 404.9 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.4343, allocations: 18.34 kB / 404.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.4344, allocations: 38.39 kB / 405 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.4346, allocations: 80.98 kB / 405.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/0.4346, allocations: 0.6094 kB / 405.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4346, allocations: 1.062 kB / 405.1 MB, free: 9.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4346, allocations: 3.938 kB / 405.1 MB, free: 9.648 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.0006318/0.4353, allocations: 383.9 kB / 405.4 MB, free: 9.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.4353, allocations: 9.062 kB / 405.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.4354, allocations: 13.2 kB / 405.5 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4356, allocations: 188.9 kB / 405.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4356, allocations: 11.38 kB / 405.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.4357, allocations: 9.594 kB / 405.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.436, allocations: 91.89 kB / 405.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4361, allocations: 1.219 kB / 405.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4361, allocations: 8.719 kB / 405.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4361, allocations: 9.422 kB / 405.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.4363, allocations: 57.7 kB / 405.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.4371, allocations: 385.5 kB / 406.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.4374, allocations: 105.2 kB / 406.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.4375, allocations: 42.91 kB / 406.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4375, allocations: 1.469 kB / 406.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4375, allocations: 36.41 kB / 406.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.4375, allocations: 0.75 kB / 406.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001349/0.4389, allocations: 0.6855 MB / 407.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.439, allocations: 54.56 kB / 407.1 MB, free: 8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4391, allocations: 118.9 kB / 407.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4391, allocations: 31.53 kB / 407.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.4392, allocations: 94.19 kB / 407.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.4392, allocations: 57 kB / 407.4 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.4393, allocations: 4 kB / 407.4 MB, free: 7.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.4394, allocations: 324.5 kB / 407.7 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.4394, allocations: 33.44 kB / 407.8 MB, free: 7.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4395, allocations: 53.41 kB / 407.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.812e-05/0.4397, allocations: 41.75 kB / 407.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4397, allocations: 3.938 kB / 407.9 MB, free: 7.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003174/0.44, allocations: 169.2 kB / 408 MB, free: 7.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.44, allocations: 9.312 kB / 408.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.44, allocations: 1.25 kB / 408.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.4402, allocations: 31.58 kB / 408.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4404, allocations: 26.97 kB / 408.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.4416, allocations: 1.449 MB / 409.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.4416, allocations: 5.562 kB / 409.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4416, allocations: 4.984 kB / 409.6 MB, free: 5.766 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4418, allocations: 123.1 kB / 409.7 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.4418, allocations: 15.16 kB / 409.7 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.4418, allocations: 17.97 kB / 409.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4419, allocations: 2.031 kB / 409.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4419, allocations: 2.438 kB / 409.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4419, allocations: 5.047 kB / 409.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.4426, allocations: 0.5415 MB / 410.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4427, allocations: 2.297 kB / 410.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.4428, allocations: 25.41 kB / 410.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.4429, allocations: 20.66 kB / 410.3 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4429, allocations: 1.188 kB / 410.3 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007937/0.4437, allocations: 1.273 MB / 411.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4437, allocations: 2.922 kB / 411.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.4441, allocations: 304.2 kB / 411.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.4442, allocations: 84.95 kB / 412 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4442, allocations: 2.344 kB / 412 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.4443, allocations: 5.5 kB / 412 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.4443, allocations: 16.05 kB / 412 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4444, allocations: 8.188 kB / 412 MB, free: 3.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.333e-05/0.4444, allocations: 94.88 kB / 412.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4444, allocations: 0 / 412.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.4448, allocations: 33.8 kB / 412.1 MB, free: 3.379 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.0001312/0.4449, allocations: 107.4 kB / 412.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.4453, allocations: 213 kB / 412.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4454, allocations: 5.531 kB / 412.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.4456, allocations: 168.6 kB / 412.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.446, allocations: 21.98 kB / 412.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.4469, allocations: 477 kB / 413.1 MB, free: 2.629 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.4471, allocations: 0.7139 MB / 413.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.4472, allocations: 10.8 kB / 413.8 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.4472, allocations: 14.53 kB / 413.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4472, allocations: 0 / 413.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of Templates: time 0.007145/0.4544, allocations: 1.252 MB / 415.1 MB, free: 1.844 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)