Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009461/0.000946, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008126/0.0008126, allocations: 95.41 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1833/0.1833, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.136e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09248, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4404, allocations: 89.61 MB / 0.5919 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001444/0.4406, allocations: 65.09 kB / 0.5919 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02943/0.4701, allocations: 11.24 MB / 0.6029 GB, free: 3.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4701, allocations: 0 / 0.6029 GB, free: 3.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.4701, allocations: 23.92 kB / 0.6029 GB, free: 3.488 MB / 394.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.001501/0.4716, allocations: 0.868 MB / 0.6038 GB, free: 2.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4717, allocations: 12.02 kB / 0.6038 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.4719, allocations: 78.67 kB / 0.6039 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.4724, allocations: 388.9 kB / 0.6042 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4724, allocations: 16 kB / 0.6043 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.4725, allocations: 35.91 kB / 0.6043 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004141/0.4729, allocations: 242.7 kB / 0.6045 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.4735, allocations: 423.4 kB / 0.6049 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4735, allocations: 4 kB / 0.6049 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.4736, allocations: 7.938 kB / 0.6049 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4736, allocations: 12 kB / 0.6049 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.4764, allocations: 1.832 MB / 0.6067 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.4769, allocations: 425 kB / 0.6071 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.4771, allocations: 204.7 kB / 0.6073 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4772, allocations: 12.94 kB / 0.6073 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4772, allocations: 57.61 kB / 0.6074 GB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.734e-06/0.4772, allocations: 0 / 0.6074 GB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006265/0.4778, allocations: 332.3 kB / 0.6077 GB, free: 14.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.478, allocations: 298.2 kB / 0.608 GB, free: 14.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.4782, allocations: 275.3 kB / 0.6083 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4782, allocations: 25.7 kB / 0.6083 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4784, allocations: 264.5 kB / 0.6085 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4785, allocations: 149.8 kB / 0.6087 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.4785, allocations: 4 kB / 0.6087 GB, free: 14.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4786, allocations: 358.5 kB / 0.609 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4788, allocations: 112.8 kB / 0.6091 GB, free: 13.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.4791, allocations: 245.5 kB / 0.6094 GB, free: 13.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.4793, allocations: 140 kB / 0.6095 GB, free: 13.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.4793, allocations: 3.938 kB / 0.6095 GB, free: 13.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002074/0.4814, allocations: 0.8091 MB / 0.6103 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.4818, allocations: 1.32 MB / 0.6116 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4818, allocations: 8 kB / 0.6116 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.4831, allocations: 359 kB / 0.6119 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.4836, allocations: 114.8 kB / 0.612 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.4888, allocations: 6.265 MB / 0.6182 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.4894, allocations: 107.8 kB / 0.6183 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.4895, allocations: 15.19 kB / 0.6183 GB, free: 4.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.4895, allocations: 5.719 kB / 0.6183 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009553/0.4904, allocations: 455.7 kB / 0.6187 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4905, allocations: 4.047 kB / 0.6187 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.4909, allocations: 134.8 kB / 0.6189 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.4916, allocations: 195.4 kB / 0.619 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.4945, allocations: 3.203 MB / 0.6222 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.495, allocations: 91.58 kB / 0.6223 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.495, allocations: 19.31 kB / 0.6223 GB, free: 460 kB / 410.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.0001945/0.4952, allocations: 128.7 kB / 0.6224 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4954, allocations: 47.53 kB / 0.6224 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.4961, allocations: 389.1 kB / 0.6228 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4961, allocations: 4 kB / 0.6228 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4961, allocations: 4 kB / 0.6228 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4961, allocations: 7.969 kB / 0.6228 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.4968, allocations: 433.1 kB / 0.6232 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4968, allocations: 4 kB / 0.6232 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.4974, allocations: 147.5 kB / 0.6234 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-05/0.4975, allocations: 20.41 kB / 0.6234 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.4976, allocations: 4 kB / 0.6234 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000663/0.4982, allocations: 1.245 MB / 0.6246 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4982, allocations: 4.031 kB / 0.6246 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.4992, allocations: 1.122 MB / 0.6257 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.4992, allocations: 123.5 kB / 0.6258 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.4993, allocations: 4 kB / 0.6258 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.5, allocations: 83.91 kB / 0.6259 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5001, allocations: 47.27 kB / 0.626 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.5001, allocations: 15.48 kB / 0.626 GB, free: 12.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5003, allocations: 213.2 kB / 0.6262 GB, free: 12.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5003, allocations: 0 / 0.6262 GB, free: 12.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009582/0.5012, allocations: 191.3 kB / 0.6264 GB, free: 12.43 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.0001365/0.5014, allocations: 103.2 kB / 0.6265 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.5045, allocations: 1.432 MB / 0.6279 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5045, allocations: 0 / 0.6279 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.5048, allocations: 279.9 kB / 0.6281 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.5057, allocations: 113.1 kB / 0.6282 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.5072, allocations: 0.8763 MB / 0.6291 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.5076, allocations: 0.8713 MB / 0.6299 GB, free: 8.953 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000332/0.508, allocations: 85.22 kB / 0.63 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5081, allocations: 27.44 kB / 0.6301 GB, free: 8.84 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5081, allocations: 0 / 0.6301 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Templates: time 0.01261/0.5207, allocations: 8.643 MB / 0.6385 GB, free: 260 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)