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.0006946/0.0006945, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005605/0.005605, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.658/1.658, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.004286/0.004286, allocations: 0.5545 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002935, allocations: 4 kB / 353.3 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4438, allocations: 50.57 MB / 403.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.0007276/0.4446, allocations: 251.7 kB / 404.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001805/0.4448, allocations: 21.05 kB / 404.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.4448, allocations: 1.094 kB / 404.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.4449, allocations: 3.469 kB / 404.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.4449, allocations: 0 / 404.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.4451, allocations: 14.45 kB / 404.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.4451, allocations: 14.55 kB / 404.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.4452, allocations: 3.375 kB / 404.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.4452, allocations: 8.156 kB / 404.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.4453, allocations: 13.16 kB / 404.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.4454, allocations: 1.938 kB / 404.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.4454, allocations: 0.9062 kB / 404.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.4454, allocations: 8.031 kB / 404.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.4455, allocations: 37.81 kB / 404.2 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.907e-05/0.4455, allocations: 11.86 kB / 404.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4455, allocations: 0.6562 kB / 404.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4455, allocations: 0 / 404.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4456, allocations: 0.7188 kB / 404.2 MB, free: 9.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000352/0.4459, allocations: 325.5 kB / 404.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.446, allocations: 9.094 kB / 404.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.446, allocations: 7.344 kB / 404.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.4461, allocations: 166.7 kB / 404.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4461, allocations: 5.719 kB / 404.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4462, allocations: 3.609 kB / 404.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.4463, allocations: 55.66 kB / 404.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4463, allocations: 0.7031 kB / 404.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4463, allocations: 3.938 kB / 404.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4464, allocations: 1.125 kB / 404.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.4464, allocations: 14.31 kB / 404.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4469, allocations: 295 kB / 405.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.447, allocations: 48.91 kB / 405.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.447, allocations: 14.12 kB / 405.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.4471, allocations: 0.7188 kB / 405.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4471, allocations: 32.11 kB / 405.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4471, allocations: 0.7188 kB / 405.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004412/0.4475, allocations: 167 kB / 405.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4476, allocations: 52.16 kB / 405.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.4477, allocations: 98.34 kB / 405.5 MB, free: 8.664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4477, allocations: 26.2 kB / 405.5 MB, free: 8.633 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.4477, allocations: 90.73 kB / 405.6 MB, free: 8.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.4477, allocations: 14.64 kB / 405.6 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4478, allocations: 16.19 kB / 405.7 MB, free: 8.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.4479, allocations: 320.8 kB / 406 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.4479, allocations: 10.42 kB / 406 MB, free: 8.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.4479, allocations: 21.41 kB / 406 MB, free: 8.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.448, allocations: 34.98 kB / 406 MB, free: 8.164 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.448, allocations: 0 / 406 MB, free: 8.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001404/0.4482, allocations: 74.42 kB / 406.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4482, allocations: 5.312 kB / 406.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4482, allocations: 5.594 kB / 406.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.4484, allocations: 17.42 kB / 406.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.4485, allocations: 6.297 kB / 406.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000877/0.4493, allocations: 1.259 MB / 407.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.4494, allocations: 4.094 kB / 407.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.4494, allocations: 1.469 kB / 407.4 MB, free: 6.836 MB / 286.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 8.367e-05/0.4495, allocations: 113.4 kB / 407.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4495, allocations: 6.562 kB / 407.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.4495, allocations: 15.77 kB / 407.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4495, allocations: 1.156 kB / 407.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4495, allocations: 0.8125 kB / 407.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4496, allocations: 0.6094 kB / 407.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4497, allocations: 156.7 kB / 407.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4497, allocations: 0.6562 kB / 407.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.4498, allocations: 3.734 kB / 407.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-05/0.4498, allocations: 19.12 kB / 407.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4499, allocations: 5.625 kB / 407.7 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007101/0.4506, allocations: 1.25 MB / 409 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4506, allocations: 0.9062 kB / 409 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4508, allocations: 181.2 kB / 409.1 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.4508, allocations: 78.91 kB / 409.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.4509, allocations: 1.641 kB / 409.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.4509, allocations: 4.688 kB / 409.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.4509, allocations: 4.141 kB / 409.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.451, allocations: 1.062 kB / 409.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.451, allocations: 82.62 kB / 409.3 MB, free: 4.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 8 kB / 409.3 MB, free: 4.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.4512, allocations: 10 kB / 409.3 MB, free: 4.906 MB / 286.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 0.0001075/0.4513, allocations: 93.3 kB / 409.4 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.4517, allocations: 146.4 kB / 409.6 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4517, allocations: 0 / 409.6 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4519, allocations: 133.4 kB / 409.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4521, allocations: 3.344 kB / 409.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.4524, allocations: 151.6 kB / 409.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.4526, allocations: 0.6809 MB / 410.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.4526, allocations: 5.75 kB / 410.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.4526, allocations: 8.531 kB / 410.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4527, allocations: 5.219 kB / 410.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of Templates: time 0.003401/0.4561, allocations: 0.5126 MB / 411.1 MB, free: 3.723 MB / 286.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)