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: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002074/0.002073, allocations: 108 kB / 15.6 MB, free: 132 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.002376/0.002376, allocations: 198.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.497/2.497, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.006405/0.006405, allocations: 0.5546 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 63.91 kB / 351.7 MB, free: 2.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1665, allocations: 49.59 MB / 401.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.003153/0.1697, allocations: 0.5213 MB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.17, allocations: 31.89 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.1701, allocations: 0 / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1701, allocations: 7.875 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1701, allocations: 0 / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1704, allocations: 11.91 kB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.3419/0.5123, allocations: 15.52 kB / 401.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.755e-05/0.5124, allocations: 2.312 kB / 401.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.5124, allocations: 14.39 kB / 401.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.5125, allocations: 8.5 kB / 401.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.5126, allocations: 1.375 kB / 401.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.5126, allocations: 5.938 kB / 401.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.5126, allocations: 2.703 kB / 401.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.5127, allocations: 15.33 kB / 401.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.918e-05/0.5128, allocations: 11.66 kB / 401.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5128, allocations: 0 / 401.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5128, allocations: 0.5625 kB / 401.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.5128, allocations: 1.125 kB / 401.9 MB, free: 10.91 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.0004866/0.5133, allocations: 339.8 kB / 402.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.5134, allocations: 13.64 kB / 402.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.5134, allocations: 35.83 kB / 402.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.5135, allocations: 3.328 kB / 402.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5136, allocations: 163.2 kB / 402.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5136, allocations: 4.812 kB / 402.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.5136, allocations: 7.516 kB / 402.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.5138, allocations: 40.94 kB / 402.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5138, allocations: 8.469 kB / 402.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5139, allocations: 0.5 kB / 402.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.5139, allocations: 1.062 kB / 402.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.5139, allocations: 14.02 kB / 402.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.5143, allocations: 255 kB / 402.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.5144, allocations: 62.64 kB / 402.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.5145, allocations: 19.42 kB / 402.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5145, allocations: 0.8125 kB / 402.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.5145, allocations: 36.64 kB / 402.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.5145, allocations: 0 / 402.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009857/0.5155, allocations: 0.4992 MB / 403.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.5156, allocations: 56.45 kB / 403.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.5157, allocations: 95.66 kB / 403.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5157, allocations: 32.36 kB / 403.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.5157, allocations: 82.94 kB / 403.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.5158, allocations: 25.42 kB / 403.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.5159, allocations: 26.59 kB / 403.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.516, allocations: 322.1 kB / 404 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.516, allocations: 12.7 kB / 404 MB, free: 8.859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.5161, allocations: 36.36 kB / 404.1 MB, free: 8.832 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.0005771/0.5167, allocations: 250.3 kB / 404.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5167, allocations: 0.5938 kB / 404.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.5169, allocations: 98.2 kB / 404.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.517, allocations: 5.375 kB / 404.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.517, allocations: 0.5156 kB / 404.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.5171, allocations: 31.53 kB / 404.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.5172, allocations: 14.81 kB / 404.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.5184, allocations: 1.385 MB / 405.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.5185, allocations: 2.156 kB / 405.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.5185, allocations: 6.281 kB / 405.8 MB, free: 7.098 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 system: 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.5186, allocations: 122.6 kB / 406 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.5186, allocations: 1.75 kB / 406 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.5186, allocations: 9.234 kB / 406 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5187, allocations: 4.938 kB / 406 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5187, allocations: 1.688 kB / 406 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5187, allocations: 0.5156 kB / 406 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.5192, allocations: 371.7 kB / 406.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5192, allocations: 1.156 kB / 406.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.5193, allocations: 12.69 kB / 406.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/0.5193, allocations: 27.83 kB / 406.4 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5194, allocations: 5.906 kB / 406.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007963/0.5202, allocations: 1.377 MB / 407.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5202, allocations: 1.281 kB / 407.8 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5205, allocations: 230.5 kB / 408 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.5205, allocations: 83.33 kB / 408.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5205, allocations: 7.078 kB / 408.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.5206, allocations: 5.094 kB / 408.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.5206, allocations: 11.12 kB / 408.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5207, allocations: 3.156 kB / 408.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.5207, allocations: 78.92 kB / 408.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5207, allocations: 0 / 408.2 MB, free: 4.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.521, allocations: 17.47 kB / 408.2 MB, free: 4.781 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005045/0.5215, allocations: 0.7508 MB / 408.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.5218, allocations: 171.1 kB / 409.1 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5218, allocations: 0 / 409.1 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.522, allocations: 148.2 kB / 409.3 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.5222, allocations: 8.797 kB / 409.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.5235, allocations: 1.396 MB / 410.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5237, allocations: 0.6919 MB / 411.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.5237, allocations: 3.75 kB / 411.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.5238, allocations: 15.03 kB / 411.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5238, allocations: 0 / 411.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.5645, allocations: 1.758 MB / 413.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.6, allocations: 9.797 kB / 413.1 MB, free: 1.375 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)