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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009459/0.000946, allocations: 95.45 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009752/0.0009751, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1853/0.1853, allocations: 46.18 MB / 345.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.000247, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09476, allocations: 63.56 MB / 483.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002828/0.09762, allocations: 2.655 MB / 486.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.09942, allocations: 1.006 MB / 487.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.09969, allocations: 11.94 kB / 487.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.36e-05/0.0998, allocations: 35.58 kB / 487.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1001, allocations: 67.38 kB / 487.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.1008, allocations: 323.6 kB / 487.8 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.1014, allocations: 0.5465 MB / 488.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.1017, allocations: 215.8 kB / 488.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.1021, allocations: 187.1 kB / 488.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.1023, allocations: 218.7 kB / 489 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.1024, allocations: 16 kB / 489 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.1024, allocations: 20 kB / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.1025, allocations: 91.53 kB / 489.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1027, allocations: 232.2 kB / 489.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.103, allocations: 359.3 kB / 489.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.103, allocations: 0 / 489.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1031, allocations: 0 / 489.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1031, allocations: 4 kB / 489.7 MB, free: 14.21 MB / 366.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.001629/0.1047, allocations: 0.9004 MB / 490.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1047, allocations: 12.81 kB / 490.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.105, allocations: 76.17 kB / 490.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.1055, allocations: 389.8 kB / 491 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1055, allocations: 41.38 kB / 491.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.1056, allocations: 48.38 kB / 491.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.107, allocations: 0.657 MB / 491.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.107, allocations: 0 / 491.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.1071, allocations: 20 kB / 491.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1071, allocations: 12 kB / 491.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.1089, allocations: 0.6305 MB / 492.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.1115, allocations: 1.827 MB / 494.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1132, allocations: 0.6894 MB / 495 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/0.1141, allocations: 377.7 kB / 495.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1142, allocations: 19.91 kB / 495.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1142, allocations: 42.56 kB / 495.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.1143, allocations: 0 / 495.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002746/0.117, allocations: 0.9082 MB / 496.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1171, allocations: 306.6 kB / 496.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1174, allocations: 341.7 kB / 496.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.1175, allocations: 37.7 kB / 497 MB, free: 6.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1177, allocations: 256.4 kB / 497.2 MB, free: 6.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1178, allocations: 165.6 kB / 497.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.1179, allocations: 45.7 kB / 497.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.118, allocations: 366.7 kB / 497.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.1188, allocations: 280.9 kB / 498.1 MB, free: 5.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009216/0.1198, allocations: 420.8 kB / 498.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.1215, allocations: 0.6603 MB / 499.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1215, allocations: 0 / 499.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00385/0.1254, allocations: 1.266 MB / 0.4887 GB, free: 2.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.1255, allocations: 185.1 kB / 0.4888 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1255, allocations: 4.562 kB / 0.4889 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.1274, allocations: 0.4889 MB / 0.4893 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.1279, allocations: 111.8 kB / 0.4894 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.1414, allocations: 11.96 MB / 0.5011 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.142, allocations: 123.5 kB / 0.5012 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.1421, allocations: 20 kB / 0.5012 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.1421, allocations: 7.938 kB / 0.5013 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/0.1443, allocations: 0.7586 MB / 0.502 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1443, allocations: 7.938 kB / 0.502 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.1449, allocations: 169.6 kB / 0.5022 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.1456, allocations: 187.8 kB / 0.5023 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.1499, allocations: 3.524 MB / 0.5058 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.1504, allocations: 104.2 kB / 0.5059 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1816/0.332, allocations: 17.97 kB / 0.5059 GB, free: 37.59 MB / 382.1 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 (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.3324, allocations: 237.9 kB / 0.5061 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.3327, allocations: 56.14 kB / 0.5062 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.3349, allocations: 0.7144 MB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3349, allocations: 10.66 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.335, allocations: 7.906 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.587e-06/0.335, allocations: 4.672 kB / 0.5069 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.3359, allocations: 0.4908 MB / 0.5074 GB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3359, allocations: 1.656 kB / 0.5074 GB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/0.3366, allocations: 144.7 kB / 0.5075 GB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.3367, allocations: 22.25 kB / 0.5075 GB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3368, allocations: 17.31 kB / 0.5076 GB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.3374, allocations: 1.307 MB / 0.5088 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3374, allocations: 2.969 kB / 0.5088 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.3402, allocations: 1.525 MB / 0.5103 GB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.3403, allocations: 125.9 kB / 0.5104 GB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.3404, allocations: 15.12 kB / 0.5105 GB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.3411, allocations: 88.78 kB / 0.5105 GB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3412, allocations: 40.2 kB / 0.5106 GB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3412, allocations: 19.98 kB / 0.5106 GB, free: 35.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.3415, allocations: 237.2 kB / 0.5108 GB, free: 35.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3415, allocations: 0 / 0.5108 GB, free: 35.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3429, allocations: 225.7 kB / 0.511 GB, free: 35.12 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.343, allocations: 111.6 kB / 0.5112 GB, free: 35.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00599/0.349, allocations: 2.513 MB / 0.5136 GB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.349, allocations: 0 / 0.5136 GB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009575/0.35, allocations: 449.1 kB / 0.514 GB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.3513, allocations: 135.7 kB / 0.5142 GB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3537, allocations: 1.455 MB / 0.5156 GB, free: 33.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.3541, allocations: 0.8646 MB / 0.5164 GB, free: 32.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3542, allocations: 45.33 kB / 0.5165 GB, free: 32.56 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3542, allocations: 0 / 0.5165 GB, free: 32.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01631/0.3706, allocations: 13.48 MB / 0.5296 GB, free: 27.73 MB / 382.1 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)