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.0008926/0.0008925, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009086/0.0009086, allocations: 177.3 kB / 15.95 MB, free: 216 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.181/1.181, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.002144/0.002144, allocations: 0.5508 MB / 291.5 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002669, allocations: 11.98 kB / 352.6 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08091, allocations: 50.56 MB / 403.1 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1432/0.2241, allocations: 1.282 MB / 404.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.2244, allocations: 97.2 kB / 404.5 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.2245, allocations: 6.188 kB / 404.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.2246, allocations: 9.547 kB / 404.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2247, allocations: 36.98 kB / 404.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.2248, allocations: 16.23 kB / 404.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2249, allocations: 72.25 kB / 404.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.225, allocations: 29.84 kB / 404.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.2251, allocations: 32.17 kB / 404.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.2252, allocations: 40.91 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2252, allocations: 7.953 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.2252, allocations: 5.062 kB / 404.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.2252, allocations: 16.38 kB / 404.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.2253, allocations: 46.39 kB / 404.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.2254, allocations: 76.27 kB / 404.9 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.2254, allocations: 1.031 kB / 404.9 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2254, allocations: 0 / 404.9 MB, free: 9.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2254, allocations: 3.938 kB / 404.9 MB, free: 9.672 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.0003527/0.2257, allocations: 384.8 kB / 405.3 MB, free: 9.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2258, allocations: 9.594 kB / 405.3 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2258, allocations: 13.44 kB / 405.3 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.226, allocations: 189.9 kB / 405.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.226, allocations: 6.562 kB / 405.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.226, allocations: 9.812 kB / 405.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2262, allocations: 90.67 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2262, allocations: 4.969 kB / 405.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2262, allocations: 12.02 kB / 405.6 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2262, allocations: 5.328 kB / 405.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2263, allocations: 60.08 kB / 405.7 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.2268, allocations: 383.8 kB / 406.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.227, allocations: 105.3 kB / 406.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.227, allocations: 1.125 kB / 406.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.227, allocations: 33.39 kB / 406.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.001e-06/0.227, allocations: 1.031 kB / 406.2 MB, free: 8.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008336/0.2279, allocations: 0.6867 MB / 406.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.2279, allocations: 54.09 kB / 406.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.228, allocations: 120 kB / 407.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.228, allocations: 30.5 kB / 407.1 MB, free: 7.906 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.228, allocations: 94.77 kB / 407.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.228, allocations: 56.06 kB / 407.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.2281, allocations: 4 kB / 407.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.2281, allocations: 325.4 kB / 407.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.2282, allocations: 35 kB / 407.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.2282, allocations: 56.95 kB / 407.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.2283, allocations: 41.38 kB / 407.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2283, allocations: 0 / 407.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000222/0.2285, allocations: 165.5 kB / 407.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2285, allocations: 6.109 kB / 407.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2285, allocations: 5.094 kB / 407.9 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.2287, allocations: 35.39 kB / 407.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2288, allocations: 26.94 kB / 407.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007475/0.2295, allocations: 1.457 MB / 409.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.2296, allocations: 1.734 kB / 409.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2296, allocations: 3.5 kB / 409.4 MB, free: 5.816 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 6.318e-05/0.2297, allocations: 132.1 kB / 409.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2297, allocations: 13.72 kB / 409.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.2297, allocations: 19.2 kB / 409.5 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2297, allocations: 6.75 kB / 409.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2297, allocations: 0 / 409.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2298, allocations: 6.453 kB / 409.6 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.2302, allocations: 0.5383 MB / 410.1 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2303, allocations: 1 kB / 410.1 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2304, allocations: 32.66 kB / 410.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.863e-05/0.2304, allocations: 16.69 kB / 410.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2305, allocations: 6.906 kB / 410.1 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.231, allocations: 1.277 MB / 411.4 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.231, allocations: 2.812 kB / 411.4 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2313, allocations: 337.2 kB / 411.8 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2313, allocations: 88.2 kB / 411.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2313, allocations: 9.547 kB / 411.9 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.2314, allocations: 6.688 kB / 411.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.2314, allocations: 12.77 kB / 411.9 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2314, allocations: 3.438 kB / 411.9 MB, free: 3.453 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.2315, allocations: 99.78 kB / 412 MB, free: 3.371 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2315, allocations: 0 / 412 MB, free: 3.371 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000288/0.2318, allocations: 30.25 kB / 412 MB, free: 3.367 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 7.501e-05/0.2319, allocations: 100.9 kB / 412.1 MB, free: 3.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.2321, allocations: 210.5 kB / 412.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2322, allocations: 1.406 kB / 412.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2323, allocations: 173.3 kB / 412.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.2326, allocations: 17.64 kB / 412.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.2331, allocations: 472.1 kB / 413 MB, free: 2.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2332, allocations: 0.7088 MB / 413.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.2333, allocations: 11.5 kB / 413.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.2333, allocations: 14.28 kB / 413.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2333, allocations: 0 / 413.7 MB, free: 1.93 MB / 286.1 MB Notification: Performance of Templates: time 0.003513/0.2368, allocations: 1.256 MB / 414.9 MB, free: 1.844 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: