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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.647/1.647, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.004184/0.004184, allocations: 0.5624 MB / 290.5 MB, free: 1.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 59.91 kB / 350.9 MB, free: 2.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1339, allocations: 49.6 MB / 400.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.002296/0.1362, allocations: 0.5739 MB / 401 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.1364, allocations: 31.89 kB / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1365, allocations: 0 / 401.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1365, allocations: 3.938 kB / 401.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.1365, allocations: 0 / 401.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.1367, allocations: 4 kB / 401.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.1368, allocations: 23.91 kB / 401.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.1369, allocations: 4 kB / 401.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.1369, allocations: 12 kB / 401.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.137, allocations: 7.922 kB / 401.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.137, allocations: 4 kB / 401.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.137, allocations: 0 / 401.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.1371, allocations: 0 / 401.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.1371, allocations: 19.91 kB / 401.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.369e-05/0.1372, allocations: 7.938 kB / 401.2 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1372, allocations: 3.984 kB / 401.2 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1372, allocations: 0 / 401.2 MB, free: 472 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1372, allocations: 0 / 401.2 MB, free: 472 kB / 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.0006592/0.1379, allocations: 343.7 kB / 401.5 MB, free: 76 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.138, allocations: 8.031 kB / 401.5 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.138, allocations: 4.938 kB / 401.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3063/0.4443, allocations: 162.8 kB / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4444, allocations: 384 / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.4445, allocations: 4.156 kB / 401.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.4446, allocations: 46.11 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4446, allocations: 0.9375 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.4446, allocations: 0.75 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4447, allocations: 4.406 kB / 401.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.4447, allocations: 17.05 kB / 401.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.4452, allocations: 292.6 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4453, allocations: 42.17 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.4454, allocations: 15.52 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.4454, allocations: 7.422 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4454, allocations: 40.55 kB / 402.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4454, allocations: 0 / 402.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004157/0.4459, allocations: 156.9 kB / 402.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4459, allocations: 53.36 kB / 402.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.446, allocations: 102.3 kB / 402.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.446, allocations: 27.23 kB / 402.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.446, allocations: 91.64 kB / 402.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.4461, allocations: 16.83 kB / 402.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4461, allocations: 21.69 kB / 402.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.4462, allocations: 316.4 kB / 402.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.4463, allocations: 9.609 kB / 402.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.4463, allocations: 25.83 kB / 402.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.4464, allocations: 37.36 kB / 403 MB, free: 9.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4464, allocations: 4.531 kB / 403 MB, free: 9.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001253/0.4465, allocations: 59.39 kB / 403 MB, free: 9.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4465, allocations: 6.172 kB / 403 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4465, allocations: 1 kB / 403 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4466, allocations: 0.6562 kB / 403 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.4467, allocations: 17.75 kB / 403.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4467, allocations: 0 / 403.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.4467, allocations: 0.875 kB / 403.1 MB, free: 9.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4467, allocations: 10.56 kB / 403.1 MB, free: 9.457 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 7.058e-05/0.4468, allocations: 111.9 kB / 403.2 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.4468, allocations: 5.953 kB / 403.2 MB, free: 9.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.4469, allocations: 7.203 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4469, allocations: 1.031 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4469, allocations: 1.25 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4469, allocations: 0.7031 kB / 403.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4471, allocations: 159.8 kB / 403.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4471, allocations: 4.594 kB / 403.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.4471, allocations: 14.3 kB / 403.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.4473, allocations: 16.12 kB / 403.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4473, allocations: 1.656 kB / 403.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.4483, allocations: 1.247 MB / 404.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4483, allocations: 4.5 kB / 404.6 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4486, allocations: 175.7 kB / 404.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.4486, allocations: 78.78 kB / 404.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.4486, allocations: 2.25 kB / 404.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.4487, allocations: 4.156 kB / 404.9 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4487, allocations: 7.531 kB / 404.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4487, allocations: 5.469 kB / 404.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.4488, allocations: 83.05 kB / 405 MB, free: 7.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.4488, allocations: 3.938 kB / 405 MB, free: 7.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.449, allocations: 8.844 kB / 405 MB, free: 7.527 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.0001505/0.4492, allocations: 100.1 kB / 405.1 MB, free: 7.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.4493, allocations: 26.38 kB / 405.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4493, allocations: 3.062 kB / 405.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4496, allocations: 128.2 kB / 405.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.4498, allocations: 1.672 kB / 405.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4502, allocations: 149.8 kB / 405.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4505, allocations: 0.6861 MB / 406.1 MB, free: 6.488 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.4505, allocations: 1.703 kB / 406.1 MB, free: 6.488 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.4505, allocations: 9.969 kB / 406.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of SimCode: time 3.126e-06/0.4505, allocations: 0 / 406.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of Templates: time 0.003347/0.4539, allocations: 457.4 kB / 406.5 MB, free: 6.465 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)