Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008345, allocations: 92.38 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.423e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5339, allocations: 88.55 MB / 0.5811 GB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/0.5344, allocations: 66.41 kB / 0.5812 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03295/0.5674, allocations: 11.34 MB / 0.5923 GB, free: 12.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5674, allocations: 0 / 0.5923 GB, free: 12.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.856e-05/0.5674, allocations: 23.92 kB / 0.5923 GB, free: 12.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001715/0.5692, allocations: 0.8729 MB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5692, allocations: 11.98 kB / 0.5932 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.5694, allocations: 63.25 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.5699, allocations: 384.5 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5699, allocations: 19.95 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.57, allocations: 35.84 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004784/0.5705, allocations: 254.4 kB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.5712, allocations: 422.2 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5712, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.5712, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5713, allocations: 12 kB / 0.5943 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.5744, allocations: 1.844 MB / 0.5961 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.575, allocations: 418.3 kB / 0.5965 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.5752, allocations: 214 kB / 0.5967 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.5753, allocations: 8.922 kB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5753, allocations: 43.34 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.5753, allocations: 8 kB / 0.5968 GB, free: 7.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007088/0.5761, allocations: 337.2 kB / 0.5971 GB, free: 7.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5762, allocations: 294.7 kB / 0.5974 GB, free: 6.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.5765, allocations: 265.3 kB / 0.5976 GB, free: 6.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.5765, allocations: 25.7 kB / 0.5976 GB, free: 6.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.5767, allocations: 264.4 kB / 0.5979 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5768, allocations: 149.8 kB / 0.598 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.5768, allocations: 4.031 kB / 0.598 GB, free: 6.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.577, allocations: 358.7 kB / 0.5984 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5772, allocations: 113.1 kB / 0.5985 GB, free: 5.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.5775, allocations: 255.8 kB / 0.5987 GB, free: 5.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.5777, allocations: 131.8 kB / 0.5989 GB, free: 5.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5777, allocations: 0 / 0.5989 GB, free: 5.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00215/0.5798, allocations: 0.8212 MB / 0.5997 GB, free: 4.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.5804, allocations: 1.312 MB / 0.6009 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5804, allocations: 3.938 kB / 0.6009 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.5817, allocations: 368.9 kB / 0.6013 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.5822, allocations: 103.9 kB / 0.6014 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.5881, allocations: 6.271 MB / 0.6075 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.5888, allocations: 111.7 kB / 0.6076 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.5888, allocations: 20 kB / 0.6077 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5888, allocations: 5.25 kB / 0.6077 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/0.5899, allocations: 449.7 kB / 0.6081 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5899, allocations: 8.031 kB / 0.6081 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.5904, allocations: 125.6 kB / 0.6082 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.5912, allocations: 191.8 kB / 0.6084 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.5946, allocations: 3.21 MB / 0.6115 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.5952, allocations: 91.88 kB / 0.6116 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5952, allocations: 23.94 kB / 0.6116 GB, free: 7.477 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin6.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin5.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin4.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin3.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin2.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin1.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.5955, allocations: 119.2 kB / 0.6118 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.5957, allocations: 51.39 kB / 0.6118 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.5964, allocations: 397.2 kB / 0.6122 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5965, allocations: 8 kB / 0.6122 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5965, allocations: 0 / 0.6122 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5965, allocations: 7.984 kB / 0.6122 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.5973, allocations: 421.6 kB / 0.6126 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5973, allocations: 0 / 0.6126 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.598, allocations: 159.8 kB / 0.6128 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.042e-05/0.5981, allocations: 20.84 kB / 0.6128 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5982, allocations: 12 kB / 0.6128 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008208/0.599, allocations: 1.242 MB / 0.614 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.599, allocations: 0 / 0.614 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6, allocations: 1.117 MB / 0.6151 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.6001, allocations: 124.4 kB / 0.6152 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.6002, allocations: 7.984 kB / 0.6152 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.6009, allocations: 84.03 kB / 0.6153 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.601, allocations: 47.81 kB / 0.6153 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.601, allocations: 16 kB / 0.6154 GB, free: 3.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.6012, allocations: 207 kB / 0.6156 GB, free: 3.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6012, allocations: 0 / 0.6156 GB, free: 3.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001103/0.6023, allocations: 191.3 kB / 0.6157 GB, free: 3.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.6025, allocations: 115.1 kB / 0.6158 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.6061, allocations: 1.421 MB / 0.6172 GB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6061, allocations: 0 / 0.6172 GB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.6065, allocations: 275 kB / 0.6175 GB, free: 1.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.6074, allocations: 119.4 kB / 0.6176 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6096, allocations: 0.8705 MB / 0.6185 GB, free: 148 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.6103, allocations: 0.8674 MB / 0.6193 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.6107, allocations: 93.25 kB / 0.6194 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6108, allocations: 31.44 kB / 0.6194 GB, free: 15.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6108, allocations: 0 / 0.6194 GB, free: 15.12 MB / 442.7 MB Notification: Performance of Templates: time 0.0157/0.6265, allocations: 8.659 MB / 0.6279 GB, free: 6.516 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)