Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008449/0.0008449, allocations: 99.78 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.0009081/0.0009081, 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.185/1.185, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.002393/0.002393, allocations: 0.5545 MB / 291.5 MB, free: 1.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 352.6 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08984, allocations: 50.59 MB / 403.2 MB, free: 256 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.0005253/0.09041, allocations: 242.3 kB / 403.4 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1464/0.2368, allocations: 23.98 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.2368, allocations: 0 / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.956e-06/0.2369, allocations: 0 / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.2369, allocations: 2.281 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.004e-05/0.237, allocations: 7.875 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.237, allocations: 11.86 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.2371, allocations: 2.406 kB / 403.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.2371, allocations: 10.98 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.2372, allocations: 14.53 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2372, allocations: 1.438 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.2372, allocations: 6.312 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.2372, allocations: 3.047 kB / 403.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.2372, allocations: 29.83 kB / 403.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.084e-05/0.2373, allocations: 6.719 kB / 403.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.2373, allocations: 4 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2373, allocations: 1.062 kB / 403.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.2373, allocations: 0 / 403.5 MB, free: 9.77 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.0002348/0.2375, allocations: 325.8 kB / 403.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2376, allocations: 12.58 kB / 403.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.2376, allocations: 10.98 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.466e-05/0.2377, allocations: 164.8 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2377, allocations: 4.656 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2377, allocations: 4.156 kB / 404 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.2378, allocations: 48.12 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2378, allocations: 1.656 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2378, allocations: 0 / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2379, allocations: 0.8125 kB / 404.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.2379, allocations: 19.17 kB / 404.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.2381, allocations: 252.3 kB / 404.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.2382, allocations: 48.77 kB / 404.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.2382, allocations: 4.781 kB / 404.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.2382, allocations: 33.19 kB / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2382, allocations: 0 / 404.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.2388, allocations: 0.5025 MB / 404.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.2388, allocations: 56.5 kB / 405 MB, free: 8.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/0.2389, allocations: 99.62 kB / 405.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.2389, allocations: 25.7 kB / 405.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.2389, allocations: 85.33 kB / 405.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2389, allocations: 29.56 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.2389, allocations: 1 kB / 405.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.239, allocations: 320.9 kB / 405.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.239, allocations: 14.17 kB / 405.6 MB, free: 7.785 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.239, allocations: 34.11 kB / 405.6 MB, free: 7.766 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2393, allocations: 203 kB / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2393, allocations: 0 / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000135/0.2394, allocations: 102 kB / 405.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2394, allocations: 5.875 kB / 405.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2394, allocations: 96 / 405.9 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.413e-05/0.2395, allocations: 26.64 kB / 405.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.2396, allocations: 11.5 kB / 405.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006217/0.2402, allocations: 1.295 MB / 407.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.2403, allocations: 5.062 kB / 407.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2403, allocations: 5.406 kB / 407.2 MB, free: 6.238 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.2403, allocations: 121.5 kB / 407.4 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.2404, allocations: 6.312 kB / 407.4 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.2404, allocations: 8.609 kB / 407.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2404, allocations: 1.281 kB / 407.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2404, allocations: 0.875 kB / 407.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2404, allocations: 5.375 kB / 407.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2407, allocations: 366.8 kB / 407.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2407, allocations: 1.688 kB / 407.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.2408, allocations: 8.391 kB / 407.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.117e-05/0.2409, allocations: 22.5 kB / 407.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2409, allocations: 10.05 kB / 407.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005291/0.2414, allocations: 1.292 MB / 409.1 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2414, allocations: 0.9688 kB / 409.1 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2416, allocations: 266.9 kB / 409.3 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.2416, allocations: 83.94 kB / 409.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2416, allocations: 4.25 kB / 409.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.2417, allocations: 0.9688 kB / 409.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.2417, allocations: 18.77 kB / 409.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.2417, allocations: 2.781 kB / 409.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.2418, allocations: 79.31 kB / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2418, allocations: 0 / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.242, allocations: 14.47 kB / 409.5 MB, free: 4.086 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.375e-05/0.242, allocations: 96.92 kB / 409.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2423, allocations: 163.4 kB / 409.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2423, allocations: 0 / 409.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2424, allocations: 153 kB / 409.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.2425, allocations: 7.562 kB / 409.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.2428, allocations: 188.4 kB / 410.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.2429, allocations: 0.6879 MB / 410.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.2429, allocations: 3.594 kB / 410.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.2429, allocations: 10.09 kB / 410.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2429, allocations: 5.188 kB / 410.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of Templates: time 0.002222/0.2451, allocations: 0.6328 MB / 411.5 MB, free: 2.852 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) Environment - environmentSimulation: