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.002329/0.002335, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 90.61 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2899/0.2899, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.168e-05, allocations: 4 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3899, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5517, allocations: 87.54 MB / 0.5514 GB, free: 11.8 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.552, allocations: 67.47 kB / 0.5514 GB, free: 11.73 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0772/0.6292, allocations: 11.31 MB / 0.5625 GB, free: 372 kB / 395.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6293, allocations: 0 / 0.5625 GB, free: 372 kB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.6294, allocations: 12 kB / 0.5625 GB, free: 360 kB / 395.1 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.004831/0.6343, allocations: 0.8805 MB / 0.5634 GB, free: 15.43 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.6344, allocations: 8.031 kB / 0.5634 GB, free: 15.42 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/0.6348, allocations: 71.25 kB / 0.5634 GB, free: 15.35 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6364, allocations: 396.3 kB / 0.5638 GB, free: 14.92 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.6365, allocations: 12 kB / 0.5638 GB, free: 14.91 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.6367, allocations: 31.91 kB / 0.5639 GB, free: 14.88 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/0.6381, allocations: 250.6 kB / 0.5641 GB, free: 14.63 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.6399, allocations: 434 kB / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.64, allocations: 7.938 kB / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.6401, allocations: 0 / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.6402, allocations: 15.95 kB / 0.5645 GB, free: 14.14 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008575/0.6488, allocations: 1.84 MB / 0.5663 GB, free: 12.23 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.6504, allocations: 414.3 kB / 0.5667 GB, free: 11.76 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.6514, allocations: 203 kB / 0.5669 GB, free: 11.54 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.6516, allocations: 19.97 kB / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.6517, allocations: 50.45 kB / 0.567 GB, free: 11.46 MB / 411.1 MB Notification: Performance of pre-optimization done (n=43): time 5.841e-06/0.6517, allocations: 0 / 0.567 GB, free: 11.46 MB / 411.1 MB Notification: Performance of matching and sorting (n=43): time 0.002053/0.6538, allocations: 337.2 kB / 0.5673 GB, free: 11.13 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.6541, allocations: 290.8 kB / 0.5676 GB, free: 10.78 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.6548, allocations: 285.3 kB / 0.5679 GB, free: 10.49 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.655, allocations: 29.64 kB / 0.5679 GB, free: 10.46 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.6554, allocations: 306.9 kB / 0.5682 GB, free: 10.16 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.6558, allocations: 153.7 kB / 0.5683 GB, free: 10 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.6559, allocations: 3.938 kB / 0.5683 GB, free: 10 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.6561, allocations: 334.8 kB / 0.5686 GB, free: 9.664 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.6566, allocations: 117.1 kB / 0.5688 GB, free: 9.547 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.6571, allocations: 239.9 kB / 0.569 GB, free: 9.258 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.6576, allocations: 127.8 kB / 0.5691 GB, free: 9.133 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6576, allocations: 4 kB / 0.5691 GB, free: 9.129 MB / 411.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004022/0.6616, allocations: 0.7982 MB / 0.5699 GB, free: 8.305 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006261/0.6623, allocations: 1.312 MB / 0.5712 GB, free: 6.891 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.6623, allocations: 3.953 kB / 0.5712 GB, free: 6.887 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.6648, allocations: 364.8 kB / 0.5715 GB, free: 6.512 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.6659, allocations: 107.9 kB / 0.5716 GB, free: 6.406 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009959/0.6759, allocations: 6.264 MB / 0.5777 GB, free: 15.79 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.6778, allocations: 107.7 kB / 0.5778 GB, free: 15.68 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.6781, allocations: 31.92 kB / 0.5779 GB, free: 15.65 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.6781, allocations: 4 kB / 0.5779 GB, free: 15.65 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002047/0.6802, allocations: 449.5 kB / 0.5783 GB, free: 15.2 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6802, allocations: 4 kB / 0.5783 GB, free: 15.2 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/0.6811, allocations: 126 kB / 0.5784 GB, free: 15.07 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6826, allocations: 199.6 kB / 0.5786 GB, free: 14.88 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.6881, allocations: 3.194 MB / 0.5817 GB, free: 11.45 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.6891, allocations: 91.62 kB / 0.5818 GB, free: 11.36 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.6892, allocations: 20.25 kB / 0.5819 GB, free: 11.34 MB / 427.1 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.000347/0.6896, allocations: 128.8 kB / 0.582 GB, free: 11.2 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.6899, allocations: 51.42 kB / 0.582 GB, free: 11.15 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.6912, allocations: 385.5 kB / 0.5824 GB, free: 10.76 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.6913, allocations: 8 kB / 0.5824 GB, free: 10.75 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-06/0.6913, allocations: 8.016 kB / 0.5824 GB, free: 10.75 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6914, allocations: 4 kB / 0.5824 GB, free: 10.74 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.6927, allocations: 429.6 kB / 0.5828 GB, free: 10.29 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6927, allocations: 4 kB / 0.5828 GB, free: 10.28 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.6942, allocations: 147.8 kB / 0.583 GB, free: 10.14 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.6944, allocations: 16.86 kB / 0.583 GB, free: 10.12 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/0.6945, allocations: 11.98 kB / 0.583 GB, free: 10.11 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.6958, allocations: 1.242 MB / 0.5842 GB, free: 8.742 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.6959, allocations: 7.969 kB / 0.5842 GB, free: 8.734 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6979, allocations: 1.121 MB / 0.5853 GB, free: 7.555 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.6981, allocations: 128.4 kB / 0.5854 GB, free: 7.41 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6982, allocations: 4 kB / 0.5854 GB, free: 7.406 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.6996, allocations: 83.91 kB / 0.5855 GB, free: 7.324 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.6998, allocations: 43.91 kB / 0.5856 GB, free: 7.281 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.6999, allocations: 15.98 kB / 0.5856 GB, free: 7.266 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.7002, allocations: 215 kB / 0.5858 GB, free: 7.059 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7002, allocations: 0 / 0.5858 GB, free: 7.059 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.00174/0.702, allocations: 187.5 kB / 0.586 GB, free: 6.875 MB / 427.1 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.0002366/0.7023, allocations: 115 kB / 0.5861 GB, free: 6.754 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.7086, allocations: 1.399 MB / 0.5874 GB, free: 5.316 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.7086, allocations: 192 / 0.5874 GB, free: 5.316 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.7093, allocations: 274.8 kB / 0.5877 GB, free: 5.039 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.7107, allocations: 126.1 kB / 0.5878 GB, free: 4.922 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.7139, allocations: 0.9155 MB / 0.5887 GB, free: 3.957 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.7146, allocations: 0.8745 MB / 0.5896 GB, free: 3.051 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.7149, allocations: 31.44 kB / 0.5896 GB, free: 3.02 MB / 427.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7149, allocations: 4 kB / 0.5896 GB, free: 3.016 MB / 427.1 MB Notification: Performance of Templates: time 0.02671/0.7416, allocations: 12.73 MB / 0.602 GB, free: 6.273 MB / 443.1 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)