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.001884/0.001884, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.8/1.8, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007897/0.0007896, allocations: 89.33 kB / 270.9 MB, free: 8.359 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.3439/0.3439, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003798, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002883/0.1061, allocations: 2.528 MB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1076, allocations: 0.9989 MB / 493.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1078, allocations: 19.88 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.62e-05/0.1079, allocations: 35.58 kB / 493.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1081, allocations: 71.31 kB / 493.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.1087, allocations: 295.5 kB / 494.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.1092, allocations: 0.5192 MB / 494.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.1095, allocations: 189 kB / 494.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1097, allocations: 179.2 kB / 495 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.11, allocations: 210.8 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.1101, allocations: 20 kB / 495.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.1101, allocations: 16 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.1102, allocations: 87.59 kB / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1103, allocations: 97.39 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1107, allocations: 355.4 kB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1107, allocations: 0 / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1107, allocations: 4 kB / 495.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1107, allocations: 0 / 495.8 MB, free: 5.602 MB / 378.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.001997/0.1127, allocations: 0.9351 MB / 496.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1128, allocations: 8.031 kB / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1129, allocations: 71.2 kB / 496.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.1134, allocations: 392.7 kB / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.1135, allocations: 37 kB / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.1136, allocations: 51.91 kB / 497.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.1152, allocations: 0.6489 MB / 498 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.1153, allocations: 15.89 kB / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.1153, allocations: 20 kB / 498 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1154, allocations: 12 kB / 498 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.1173, allocations: 0.6127 MB / 498.6 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.1199, allocations: 1.832 MB / 0.4887 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1216, allocations: 0.6855 MB / 0.4894 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.17/0.2917, allocations: 370 kB / 0.4897 GB, free: 42.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.2918, allocations: 16.16 kB / 0.4898 GB, free: 42.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.2918, allocations: 48.75 kB / 0.4898 GB, free: 42.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/0.2919, allocations: 0 / 0.4898 GB, free: 42.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002962/0.2948, allocations: 0.911 MB / 0.4907 GB, free: 42.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2949, allocations: 296 kB / 0.491 GB, free: 42.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.2953, allocations: 354.7 kB / 0.4913 GB, free: 42.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.2954, allocations: 36.28 kB / 0.4913 GB, free: 42.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2955, allocations: 261.1 kB / 0.4916 GB, free: 42.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2957, allocations: 158.7 kB / 0.4917 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2957, allocations: 10.09 kB / 0.4918 GB, free: 42.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.2958, allocations: 358.4 kB / 0.4921 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/0.2967, allocations: 279.1 kB / 0.4924 GB, free: 41.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/0.2976, allocations: 416.2 kB / 0.4928 GB, free: 41.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.2985, allocations: 296.7 kB / 0.493 GB, free: 41.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2985, allocations: 1.031 kB / 0.493 GB, free: 41.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003915/0.3024, allocations: 1.257 MB / 0.4943 GB, free: 41.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.3025, allocations: 185.2 kB / 0.4944 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3026, allocations: 7.891 kB / 0.4945 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.3045, allocations: 487.8 kB / 0.4949 GB, free: 41.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.305, allocations: 112 kB / 0.495 GB, free: 41.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.3166, allocations: 11.94 MB / 0.5067 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.3173, allocations: 122.7 kB / 0.5068 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.3173, allocations: 25.02 kB / 0.5068 GB, free: 31.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.3174, allocations: 12.03 kB / 0.5068 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/0.3194, allocations: 0.7543 MB / 0.5076 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3194, allocations: 5.812 kB / 0.5076 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.32, allocations: 163.7 kB / 0.5077 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.3208, allocations: 197.2 kB / 0.5079 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.3242, allocations: 3.517 MB / 0.5114 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.3247, allocations: 107.6 kB / 0.5115 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3248, allocations: 18.34 kB / 0.5115 GB, free: 28.36 MB / 378.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.000264/0.325, allocations: 244.8 kB / 0.5117 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.3252, allocations: 48.28 kB / 0.5118 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.3271, allocations: 0.7276 MB / 0.5125 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3271, allocations: 5.812 kB / 0.5125 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3271, allocations: 2.75 kB / 0.5125 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3271, allocations: 4.953 kB / 0.5125 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.3279, allocations: 494.5 kB / 0.513 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3279, allocations: 7.438 kB / 0.513 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.3285, allocations: 146.9 kB / 0.5131 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.3286, allocations: 31.36 kB / 0.5131 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.3287, allocations: 10.03 kB / 0.5131 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/0.3293, allocations: 1.303 MB / 0.5144 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3293, allocations: 3.031 kB / 0.5144 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3318, allocations: 1.538 MB / 0.5159 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.3319, allocations: 121.6 kB / 0.516 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.3319, allocations: 18.47 kB / 0.5161 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.3326, allocations: 90.12 kB / 0.5161 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.3327, allocations: 41.69 kB / 0.5162 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.3328, allocations: 19.27 kB / 0.5162 GB, free: 25.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.333, allocations: 241.2 kB / 0.5164 GB, free: 25.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.333, allocations: 0 / 0.5164 GB, free: 25.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001317/0.3343, allocations: 226.5 kB / 0.5166 GB, free: 25.02 MB / 378.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.00012/0.3344, allocations: 116.7 kB / 0.5168 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005379/0.3398, allocations: 2.498 MB / 0.5192 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3398, allocations: 0 / 0.5192 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.3407, allocations: 458.2 kB / 0.5196 GB, free: 23.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3418, allocations: 134.7 kB / 0.5198 GB, free: 23.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.344, allocations: 1.421 MB / 0.5211 GB, free: 22.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3443, allocations: 0.8681 MB / 0.522 GB, free: 21.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3444, allocations: 33.67 kB / 0.522 GB, free: 21.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3444, allocations: 3.531 kB / 0.522 GB, free: 21.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01398/0.3584, allocations: 13.79 MB / 0.5355 GB, free: 19.85 MB / 378.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)