Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008223/0.008223, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.00191/0.00191, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.004023/0.004023, allocations: 0.5585 MB / 291.1 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.81 kB / 402.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08278, allocations: 49.6 MB / 452 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001612/0.08443, allocations: 0.5146 MB / 452.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.0846, allocations: 26.95 kB / 452.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.08463, allocations: 0 / 452.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.08465, allocations: 3.938 kB / 452.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.08471, allocations: 0 / 452.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.08481, allocations: 8 kB / 452.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.08487, allocations: 19.92 kB / 452.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.08492, allocations: 0 / 452.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.853e-05/0.08494, allocations: 11.92 kB / 452.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.085, allocations: 15.94 kB / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.08502, allocations: 0 / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.08503, allocations: 0 / 452.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.08505, allocations: 11.97 kB / 452.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.08508, allocations: 7.938 kB / 452.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.097e-05/0.08514, allocations: 11.92 kB / 452.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08515, allocations: 0 / 452.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08515, allocations: 0 / 452.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.08517, allocations: 0 / 452.6 MB, free: 4.652 MB / 318.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.0003729/0.08555, allocations: 337.9 kB / 453 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.08559, allocations: 15.89 kB / 453 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.08562, allocations: 4.844 kB / 453 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.08573, allocations: 164.4 kB / 453.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.08575, allocations: 12.31 kB / 453.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.08578, allocations: 384 / 453.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.08589, allocations: 50.19 kB / 453.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.0859, allocations: 192 / 453.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.08592, allocations: 3.938 kB / 453.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.08593, allocations: 0 / 453.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.08597, allocations: 19.98 kB / 453.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.08632, allocations: 290.6 kB / 453.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.08643, allocations: 50.44 kB / 453.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.08647, allocations: 12.94 kB / 453.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.08648, allocations: 3.984 kB / 453.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.08651, allocations: 38.56 kB / 453.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.08652, allocations: 0 / 453.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000355/0.08688, allocations: 163.5 kB / 453.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.08692, allocations: 51.41 kB / 453.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.08698, allocations: 93.86 kB / 453.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.08701, allocations: 33.7 kB / 454 MB, free: 3.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.08705, allocations: 80.14 kB / 454 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.08707, allocations: 15.73 kB / 454.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.08711, allocations: 21.72 kB / 454.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.08722, allocations: 322.8 kB / 454.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.08725, allocations: 7.984 kB / 454.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.08728, allocations: 21.72 kB / 454.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.08734, allocations: 37.64 kB / 454.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.08734, allocations: 0 / 454.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001311/0.08748, allocations: 78.45 kB / 454.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.0875, allocations: 4 kB / 454.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.08751, allocations: 0 / 454.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.08764, allocations: 20.78 kB / 454.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.0877, allocations: 8 kB / 454.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009406/0.08865, allocations: 1.347 MB / 455.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.08868, allocations: 0 / 455.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.08869, allocations: 4.031 kB / 455.9 MB, free: 0.9688 MB / 318.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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.262e-05/0.08877, allocations: 110.7 kB / 456 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.0888, allocations: 8.266 kB / 456 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.08883, allocations: 15.48 kB / 456 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.08884, allocations: 0 / 456 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.08884, allocations: 0 / 456 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.08885, allocations: 3.984 kB / 456 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.08901, allocations: 161.6 kB / 456.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.08902, allocations: 0 / 456.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.08906, allocations: 4 kB / 456.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-05/0.08915, allocations: 24.78 kB / 456.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.08917, allocations: 4 kB / 456.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.09002, allocations: 1.34 MB / 457.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.09004, allocations: 3.938 kB / 457.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.09021, allocations: 172.3 kB / 457.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.09025, allocations: 81.11 kB / 457.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.09027, allocations: 20.05 kB / 457.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.09032, allocations: 0 / 457.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.09034, allocations: 0 / 457.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.09035, allocations: 4 kB / 457.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.841e-05/0.09039, allocations: 75.28 kB / 457.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09039, allocations: 0 / 457.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.09065, allocations: 15.94 kB / 457.9 MB, free: 14.7 MB / 334.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 8.055e-05/0.09074, allocations: 99.23 kB / 458 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.09099, allocations: 146.5 kB / 458.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.091, allocations: 0 / 458.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.09113, allocations: 122.7 kB / 458.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.09135, allocations: 0 / 458.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.09159, allocations: 142.6 kB / 458.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.09184, allocations: 0.6846 MB / 459.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.478e-05/0.09186, allocations: 0 / 459.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.09188, allocations: 7.438 kB / 459.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09188, allocations: 0 / 459.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Templates: time 0.00239/0.09428, allocations: 0.5444 MB / 459.7 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)