Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007644, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008857/0.0008857, allocations: 178.8 kB / 16.92 MB, free: 6.629 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.262 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.003152/0.003151, allocations: 0.5584 MB / 292.6 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.00034, allocations: 12.28 kB / 353.9 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2569, allocations: 50.57 MB / 404.5 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.0006125/0.2576, allocations: 242.8 kB / 404.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000139/0.2577, allocations: 26.47 kB / 404.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.2578, allocations: 4.688 kB / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.2578, allocations: 0 / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.478e-05/0.2578, allocations: 0 / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.258, allocations: 11.16 kB / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.258, allocations: 14.16 kB / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.2581, allocations: 3.797 kB / 404.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.2581, allocations: 12.95 kB / 404.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.2582, allocations: 9.5 kB / 404.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2582, allocations: 1.812 kB / 404.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.2582, allocations: 1 kB / 404.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2582, allocations: 10.38 kB / 404.9 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.2583, allocations: 41.59 kB / 404.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.049e-05/0.2583, allocations: 5.688 kB / 404.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2583, allocations: 0.5312 kB / 404.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2584, allocations: 1.125 kB / 404.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.2584, allocations: 0 / 404.9 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.0002688/0.2586, allocations: 325.9 kB / 405.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2587, allocations: 9.531 kB / 405.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.2587, allocations: 12.72 kB / 405.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.359e-05/0.2588, allocations: 166.8 kB / 405.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2588, allocations: 3.047 kB / 405.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.2589, allocations: 3 kB / 405.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.758e-05/0.259, allocations: 46.5 kB / 405.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.259, allocations: 192 / 405.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.259, allocations: 4.688 kB / 405.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.259, allocations: 4.625 kB / 405.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.259, allocations: 18.28 kB / 405.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2594, allocations: 294 kB / 405.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.924e-05/0.2595, allocations: 45.02 kB / 405.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.2595, allocations: 14.59 kB / 405.8 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.2596, allocations: 4.656 kB / 405.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.2596, allocations: 40 kB / 405.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2596, allocations: 0.5938 kB / 405.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003579/0.2599, allocations: 154.3 kB / 406 MB, free: 8.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.26, allocations: 52.64 kB / 406.1 MB, free: 8.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.26, allocations: 100.7 kB / 406.2 MB, free: 8.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.26, allocations: 25.7 kB / 406.2 MB, free: 8.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.2601, allocations: 88.88 kB / 406.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2601, allocations: 27.09 kB / 406.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.2601, allocations: 13.22 kB / 406.3 MB, free: 8.516 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.2602, allocations: 319.1 kB / 406.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2602, allocations: 10.09 kB / 406.6 MB, free: 8.199 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.2602, allocations: 21.11 kB / 406.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.2603, allocations: 29.52 kB / 406.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2603, allocations: 4 kB / 406.7 MB, free: 8.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.702e-05/0.2604, allocations: 62.92 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2604, allocations: 4.844 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2604, allocations: 0.5625 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2604, allocations: 1.531 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.2605, allocations: 12.64 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2605, allocations: 1.125 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.2606, allocations: 3.5 kB / 406.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.2606, allocations: 5.562 kB / 406.8 MB, free: 8.129 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 (6): * Single equations (assignments): 6 * 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 4.689e-05/0.2606, allocations: 124.6 kB / 406.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2607, allocations: 0.8438 kB / 406.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2607, allocations: 5.562 kB / 406.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.2607, allocations: 2.484 kB / 406.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2607, allocations: 0 / 406.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2607, allocations: 0.8906 kB / 406.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.2608, allocations: 172.9 kB / 407.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2608, allocations: 0 / 407.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.2609, allocations: 3.812 kB / 407.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.261, allocations: 19.39 kB / 407.1 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.261, allocations: 4.125 kB / 407.1 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/0.2617, allocations: 1.244 MB / 408.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2617, allocations: 9.078 kB / 408.4 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.2619, allocations: 172.7 kB / 408.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.2619, allocations: 86.59 kB / 408.6 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.2619, allocations: 5 kB / 408.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.262, allocations: 1.5 kB / 408.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.262, allocations: 10.66 kB / 408.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.262, allocations: 1.766 kB / 408.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.129e-05/0.262, allocations: 78.81 kB / 408.7 MB, free: 6.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.262, allocations: 0 / 408.7 MB, free: 6.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.2623, allocations: 5.781 kB / 408.7 MB, free: 6.191 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 6.989e-05/0.2623, allocations: 99.61 kB / 408.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.2624, allocations: 21.58 kB / 408.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2624, allocations: 4.688 kB / 408.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.2626, allocations: 131 kB / 409 MB, free: 5.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.2628, allocations: 8.344 kB / 409 MB, free: 5.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.263, allocations: 176.3 kB / 409.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2631, allocations: 0.6811 MB / 409.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.2632, allocations: 9.281 kB / 409.8 MB, free: 5.109 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2632, allocations: 4 kB / 409.8 MB, free: 5.105 MB / 286.1 MB Notification: Performance of Templates: time 0.002374/0.2655, allocations: 0.6816 MB / 410.5 MB, free: 5.086 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)