Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 176.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007238/0.0007238, allocations: 85.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2898/0.2898, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3805, allocations: 88.32 MB / 0.5662 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.3807, allocations: 63.97 kB / 0.5662 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03136/0.4121, allocations: 11.4 MB / 0.5774 GB, free: 2.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4122, allocations: 4 kB / 0.5774 GB, free: 2.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.4122, allocations: 12 kB / 0.5774 GB, free: 2.594 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.00166/0.4139, allocations: 0.939 MB / 0.5783 GB, free: 1.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4139, allocations: 8.031 kB / 0.5783 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.414, allocations: 72.09 kB / 0.5784 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.4145, allocations: 410.7 kB / 0.5788 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.4146, allocations: 37.38 kB / 0.5788 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.4147, allocations: 51.28 kB / 0.5789 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.416, allocations: 0.6572 MB / 0.5795 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.416, allocations: 192 / 0.5795 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.416, allocations: 23.94 kB / 0.5795 GB, free: 280 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4161, allocations: 16 kB / 0.5795 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.4176, allocations: 0.6249 MB / 0.5801 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.4208, allocations: 1.95 MB / 0.582 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4224, allocations: 0.6893 MB / 0.5827 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/0.4232, allocations: 373.8 kB / 0.5831 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.799e-05/0.4232, allocations: 7.984 kB / 0.5831 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4233, allocations: 54.48 kB / 0.5831 GB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/0.4233, allocations: 0 / 0.5831 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002556/0.4259, allocations: 0.9005 MB / 0.584 GB, free: 11.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.426, allocations: 294.7 kB / 0.5843 GB, free: 11.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.4264, allocations: 361.9 kB / 0.5846 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.4265, allocations: 37.7 kB / 0.5847 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4266, allocations: 264.4 kB / 0.5849 GB, free: 10.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4268, allocations: 161.7 kB / 0.5851 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.4268, allocations: 12 kB / 0.5851 GB, free: 10.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4269, allocations: 358.8 kB / 0.5854 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.4277, allocations: 280.9 kB / 0.5857 GB, free: 9.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.4285, allocations: 408.8 kB / 0.5861 GB, free: 9.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.43, allocations: 0.6574 MB / 0.5867 GB, free: 8.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4301, allocations: 0 / 0.5867 GB, free: 8.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003563/0.4336, allocations: 1.243 MB / 0.588 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.4338, allocations: 193.5 kB / 0.5881 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4338, allocations: 4 kB / 0.5881 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.4356, allocations: 488.7 kB / 0.5886 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.4361, allocations: 115.8 kB / 0.5887 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.4493, allocations: 11.95 MB / 0.6004 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.45, allocations: 123.5 kB / 0.6005 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.4501, allocations: 20 kB / 0.6005 GB, free: 9.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.4501, allocations: 4 kB / 0.6005 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00196/0.4521, allocations: 0.7511 MB / 0.6013 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4521, allocations: 4 kB / 0.6013 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.4527, allocations: 169.9 kB / 0.6014 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.4534, allocations: 199.7 kB / 0.6016 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.4573, allocations: 3.52 MB / 0.6051 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4578, allocations: 99.64 kB / 0.6052 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4578, allocations: 23.98 kB / 0.6052 GB, free: 4.305 MB / 426.7 MB 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 () * Number of clocked 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 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.4581, allocations: 248.9 kB / 0.6054 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.4583, allocations: 59.67 kB / 0.6055 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.4601, allocations: 0.7124 MB / 0.6062 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4601, allocations: 11.94 kB / 0.6062 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4601, allocations: 4 kB / 0.6062 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4601, allocations: 4 kB / 0.6062 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.461, allocations: 0.493 MB / 0.6067 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.461, allocations: 4 kB / 0.6067 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.4616, allocations: 143.8 kB / 0.6068 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-05/0.4617, allocations: 20.84 kB / 0.6068 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.4618, allocations: 19.98 kB / 0.6068 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007801/0.4626, allocations: 1.293 MB / 0.6081 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4626, allocations: 8.094 kB / 0.6081 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.4651, allocations: 1.533 MB / 0.6096 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.4652, allocations: 124.3 kB / 0.6097 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.4652, allocations: 15.98 kB / 0.6097 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.4659, allocations: 87.92 kB / 0.6098 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.466, allocations: 47.88 kB / 0.6099 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.466, allocations: 16 kB / 0.6099 GB, free: 15.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.4662, allocations: 243.1 kB / 0.6101 GB, free: 14.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4663, allocations: 0 / 0.6101 GB, free: 14.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001233/0.4675, allocations: 227.4 kB / 0.6103 GB, free: 14.76 MB / 442.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 () * Number of clocked 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.0001613/0.4677, allocations: 119.2 kB / 0.6105 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.4731, allocations: 2.493 MB / 0.6129 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4731, allocations: 4.188 kB / 0.6129 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.474, allocations: 446.3 kB / 0.6133 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4752, allocations: 143.6 kB / 0.6135 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4775, allocations: 1.424 MB / 0.6148 GB, free: 9.996 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.478, allocations: 0.8708 MB / 0.6157 GB, free: 9.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.4781, allocations: 35.44 kB / 0.6157 GB, free: 9.059 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4781, allocations: 0 / 0.6157 GB, free: 9.059 MB / 442.7 MB Notification: Performance of Templates: time 0.01418/0.4923, allocations: 13.8 MB / 0.6292 GB, free: 11.26 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)